I am making an application in monodroid using the new Google Maps v2. I created a binding for the Google Play Service and used it. Everything works fine when I'm in debug mode, but in the release I get the following error:
System.Exception: The "LinkAssemblies" task failed unexpectedly. Mono.Cecil.ResolutionException: Failed to resolve Android.App.Fragment at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference) at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference) at Mono.Linker.Steps.MarkStep.InitializeType(TypeDefinition type) at Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly) at Mono.Linker.Steps.MarkStep.Initialize() at Mono.Linker.Steps.MarkStep.Process(LinkContextcontext) at Mono.Linker.Pipeline.Process(LinkContext context) at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context) at Xamarin.Android.Tasks.LinkAssemblies.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execue() at Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext()
If I remove the binding and the Google Play Services map, it will work.
Anyone who can help?
EDIT: I found a solution: set the link to none. But I would like him to work on installing links only to the "SDK builds", because now the apk file is getting large.
source share