Search code examples
xamarinpackagemvvm-lightportable-class-libraryxamarin.droid

Xamarin.Droid Package creation failed


I chose Build -> Archive for publishing

and I am getting the following error

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2,2): Error: Could not load assembly ‘myapp, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? (myapp.Droid)

It was working earlier but now not anymore


Solution

  • I had the exact same scenario, the project used to archive but doesn't any longer, same OS, debug is also perfectly fine.

    enter image description here

    I found that I only had armeabi-v7a ticked, after ticking x86 it seemed to work.