共用方式為


Xamarin.Android error XA4303

Issue

The ResolveLibraryProjectImports task encountered a failure extracting __AndroidLibraryProjects__.zip from a referenced assembly. This .zip file contains any Android-related files embedded in the assembly during the Xamarin.Android build process. This includes @(AndroidAsset), @(AndroidResource), etc.

XA4303 could be caused by any of the following:

  • A PathTooLongException occurred while extracting the .zip file. Learn more about MAX_PATH on Windows here.
  • An invalid path was encountered inside the .zip file, such as : on Windows.

Solution

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