Skip to content Skip to sidebar Skip to footer

"Link Assemblies" Task Failed Unexpectedly Issue While App Build In Release Mode Xamarin Android

Getting the following issue while trying to build App Release Mode in Xamarin Android. Why is it appearing and how can it be resolved? Severity Code Description Project File

Solution 1:

I was able to resolve the issue in by changing the Target Android Version and setting the Java Max Heap Size in the following manner.

enter image description here

  1. Right click MyApp.Droid
  2. Properties > Android Options > Advanced (tab)
  3. Set 'Java Max Heap Size' to 1024m

Solution 2:

Try this configuration for Debug mode enter image description here

enter image description here


Solution 3:

I got this too after upgrading to Xamarin Forms. You need to make sure your Target Framework is the last version.


Solution 4:

After updated xamarin version i start getting this error. Clean project first then build it again. fixed for me. Rebuild not working.


Solution 5:

Check Mono android subfolder in Xamarin.forms package folder, sometimes linking to old Mono android version. Change it to new. It worked for me. I changed from Monoandroid 8.0 to Monoandroid 9.0 of some dll's like Xamarin.Android.Platforms etc..


Post a Comment for ""Link Assemblies" Task Failed Unexpectedly Issue While App Build In Release Mode Xamarin Android"