xamarin.formsxamarin.android

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?


Solution

  • visual studia returns an error when the entire path is too long, you would have to change the location or name of the folder