简体   繁体   中英

Xamarin.Forms Can't Archive because the packaging process was failed

I clicked the archive button of Xamarin.Forms's Android Project.
Though I did many ways from any other community, github issues, but it failed.
The Settings that I already had:

  1. Set The Linker Only SDK -> None
  2. Set Android project's.csproj AndroidEnableProfiledAot to true
  3. Set the solution configuration to release. (Any CPU)

Anyway it's archiving was failed but some strange warnings like this is disappeared.

But the important and serious problem is now there's failing Archive without error message.
So I can't do anything. Is there any ways to archive my Xamarin.Forms android application?

In my case, this error occurred because of the long name which exceeded the maximum number of characters for the windows path (255 characters).

Renaming my project solved it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM