build failed on unity 5.1.1f1 android

0 votes

hello

i import the App42PushPlugin to my project, and i get this error when try to build to android:

 

UnityException: Failed assemblies stripper: C:/Program Files/Unity/Editor/Data/Mono/bin\mono.exe "C:\Program Files\Unity\Editor\Data\Tools/UnusedBytecodeStripper.exe" -l none -c link -a "Assembly-CSharp-firstpass.dll" -a "Assembly-CSharp.dll" -a "Assembly-UnityScript.dll" -out output -x "C:\Program Files\Unity\Editor\Data\Tools\link.xml" -d "Temp/StagingArea/Data/Managed" -x "C:\Program Files\Unity\Editor\Data\Tools\native_link.xml" -x "tmplink.xml" current dir : Temp/StagingArea/Data/Managed
 result file exists: False. Timed out: False
 
stdout:
 
stderr:
 
Unhandled Exception: Mono.Linker.ResolutionException: Can not resolve reference: System.Collections.Hashtable UnityEngine.WWWForm::get_headers()
 
  at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference, System.Object markedby) [0x00000] in <filename unknown>:0 
 
  at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction, Mono.Cecil.MethodDefinition markedby) [0x00000] in <filename unknown>:0 
 
  at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x00000] in <filename unknown>:0 
 
  at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0 
 
  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0 
 
  at Mono.Linker.Steps.MarkStep.Process () [0x00000] in <filename unknown>:0 
 
  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 
 
  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0 
 
  at UnusedBytecodeStripper.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
 
 
UnityEditor.MonoProcessUtility.RunMonoProcess (System.Diagnostics.Process process, System.String name, System.String resultingFile) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoAssemblyStripping.cs:113)
UnityEditor.MonoAssemblyStripping.MonoLink (BuildTarget buildTarget, System.String managedLibrariesDirectory, System.String[] input, System.String[] allAssemblies, UnityEditor.RuntimeClassRegistry usedClasses) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/MonoAssemblyStripping.cs:313)
UnityEditor.HostView:OnGUI()
 
maybe it is not soported in new version of unity?
 
tenks
 
closed with the note: Closing this thread as there was no update from last 2 Weeks or more. Please raise a new query if problem persists.
asked Aug 12, 2015 in App42 Cloud API-BaaS by info (10 points)
closed Jan 11, 2016 by shepAdmin
Could you please replace the App42 Unity SDK with latest version and let us know if you still face any issue.
To download the latest version of App42 Unity SDK, click on the below link:
https://github.com/shephertz/App42_Unity3D_SDK


Regards,
Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...