3

When I create a release archive of a Xamarin Android app in the latest release of Visual Studio for Mac (8.1.3 build 19), I end up with two .apk's, with filenames like:

  • com.whatevs.android.apk
  • com.whatevs.android-signed.apk

Why does it do this? What can I change in my project setup to prevent it? If it can't be prevented, then which one is the appropriate file to upload to Google Play?

This actually used to be a problem a year ago or so, but went away, and now it's back...

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
Mick Byrne
  • 14,394
  • 16
  • 76
  • 91

2 Answers2

2

The major differences are the debug flag and the signing keys, I guess. You can read more about signing here and manually signing here.

Raimo
  • 1,494
  • 1
  • 10
  • 19
2

This happen when you build the app and create an archive for publishing with a physical device selected in Visual Studio for Mac as target device. Select an emulator, Build all and Archive for publishing.

Mattia Ducci
  • 412
  • 6
  • 10