Xamarin.Android error XA0000

Issue

An unhandled exception (or error case) was encountered in one of Xamarin.Android's MSBuild tasks.

Solution

Consider submitting a bug if you are getting this warning under normal circumstances.

Specific scenario 1

Issue

An exception was thrown and logged, including a C# exception stack trace showing where the failure occurred.

Solution

Likely, the only option is to submit a bug.

Specific scenario 2

Issue

You are using a $(TargetFrameworkVersion) which cannot be mapped to a valid android api-level.

Solution

Check you have selected a valid $(TargetFrameworkVersion) and the required android api-level is installed in $(AndroidSdkDirectory)\platforms.