Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Xamarin Linker

$
0
0

Hello!
We are finished now with creating our awesome Xamarin.Forms app and we are trying to create the apk. We have some problems with the Link SDK only problem. We need that option, because without this option our apk has a size of 50 mb, and nobody would like to have such a huge application. The full error is:
Unerwarteter Fehler bei der LinkAssemblies-Aufgabe.
Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'Android.Support.V4.App.NotificationCompat/BuilderExtender' (defined in 'Xamarin.Android.Support.v7.AppCompat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null') from 'Xamarin.Android.Support.v7.AppCompat, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' could not be resolved. ---> Mono.Cecil.ResolutionException: Failed to resolve Android.Support.V4.App.NotificationCompat/BuilderExtender
bei Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
bei MonoDroid.Tuner.MonoDroidMarkStep.MarkType(TypeReference reference)
bei Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
bei MonoDroid.Tuner.MonoDroidMarkStep.MarkType(TypeReference reference)
bei Mono.Linker.Steps.MarkStep.InitializeType(TypeDefinition type)
bei Mono.Linker.Steps.MarkStep.InitializeType(TypeDefinition type)
bei Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly)
bei Mono.Linker.Steps.MarkStep.Initialize()
bei Mono.Linker.Steps.MarkStep.Process(LinkContext context)
bei Mono.Linker.Pipeline.Process(LinkContext context)
bei MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)
bei Xamarin.Android.Tasks.LinkAssemblies.Execute()
--- Ende der internen Ausnahmestapelüberwachung ---
bei Xamarin.Android.Diagnostic.Error(Int32 code, Exception innerException, String message, Object[] args)
bei Xamarin.Android.Tasks.LinkAssemblies.Execute()
bei Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
bei Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()

Can anybody help? We would be very happy if anybody can help us.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>