Forum Xamarin.Forms

Debugging "Failed to create archive zzz" - "An item with the same key has already been added"

VanceKVanceK Member ✭✭

I am having a nightmare of a time generating my APK file for my Android Xamarin.Forms app.

I have gotten Archive to work a few times but 90% of the time I get the error "An item with the same key has already been added". How do I debug this to see why I am getting this error?

I have tried:
1. Cleaning the solution and building and then archiving
2. Cleaning the solution, deleting all previous archives, bumping up the android app version number, and then going straight to Archive
3. About 300 hundred other combinations of the above (with and without clean builds) after adding/clearing various build settings

Sign In or Register to comment.