Bug 13776 - monodroiderror XA0000: Unexpected error
Summary: monodroiderror XA0000: Unexpected error
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.8.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2013-08-06 08:56 UTC by Allie Miller
Modified: 2017-06-27 15:47 UTC (History)
6 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Allie Miller 2013-08-06 08:56:54 UTC
When building a Xamarin.Android project, the following error appears:

(Build) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets (_ExtractLibraryProjectImports target) ->

: monodroiderror XA0000: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com. Reason: System.TypeInitializationException: An exception was thrown by the type initializer for Xamarin.Android.Tools.AssemblySignature ---> System.Security.Cryptography.CryptographicException: Couldn't decode XML ---> System.StackOverflowException: The requested operation caused a stack overflow.

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.2464440

Version information:
MonoFramework 3.2.0
Xamarin Studio 4.0.10
Xamarin.Android 4.8.1
Comment 2 Jonathan Pryor 2013-08-15 16:30:46 UTC
A repro or additional information would be nice. Which version of OS X does this happen on?
Comment 3 W.C. 2013-10-01 02:16:19 UTC
I have encountered the same problem as reported, here are the version details:

Xamarin Studio:
4.0.12 (build 3)
Mono 3.2.3
GTK 2.24.20
Package version: 302030000

Xamarin Android:
4.8.1 (Starter Edition)
Supported Android version:
2.2, 2.3, 4.0

Java version: 1.7.0_40

Xcode: 4.5.2

Xamarin iOS: (Starter Edition)

Mac OS X 10.8.5
Comment 4 Jonathan Pryor 2013-10-02 22:45:44 UTC
@W.C.: What happens if you run the following command within Terminal.app?

/Developer/MonoAndroid//usr/bin/mandroid  --version
Comment 5 W.C. 2013-10-31 10:20:43 UTC
mandroid Starter
Comment 7 Chris Hardy [MSFT] 2017-06-27 15:47:18 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Android. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.