Xamarin android release issue

becomes below error in my android xamarin. Please help me to solve this problem.

C: \ Program Files (X86) \ MSBuild \ Xamarin \ Android \ Xamarin.Android.Common.targets (5.5): Error MSB4018: The "LinkAssemblies" task terminated unexpectedly. Xamarin.Android.XamarinAndroidException: Error XA2006: Reference to metadata element '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.

+3


source to share


4 answers


First update Xamarin Studio and Xamrin Anroid to the latest version, then clean your solution and set the target setting to Android 4.4. and also set the binding option to No after completing this entire step. Rebuild your solution and run it, maybe work, please try.



0


source


If you have used Xamarin.Android.Support.v7.AppCompat than the first of you, you should get the latest xamarin studio as well as android sdk, after which you will be successful, please try.



0


source


You may not have a package for AppCompat. Download the latest Xamarin.Android.Support.v7.AppCompat libraries from NuGet and rebuild the project.

0


source


I think you are trying to add the AppCompat library to your application.

Make sure you download the SDK like this . When you download these packages, do not select the latest stable release. Instead, choose any older version like this .

0


source







All Articles