The way I sign an APK with Mono for Android app:
Within Visual Studio <– Make sure dropdown is “Release” NOT “Debug” 1. Build – Clean 2. Build – Rebuild 3. Package YOUR_APP_NAME for Android (.apk)
Open folder that contains APK (c:\PATH TO MONODROID PROJECT\bin\Release 4. Copy apk file (NOT -Signed.apk) to Java folder (c:\Program Files\Java\JAVA VERSION\bin)
Open command prompt 5. redirect to java folder where you paste APK file to (cd c:\Program Files\Java…. etc) 6. sign APK with certificate (jarsigner -verbose -keystore KEYSTORE_KEY APK_FILENAME KEYSTORE_ABBREVIATION)
- Copy signed APK to Android-sdk folder (c:\android-sdk\tools)
- redirect cmd prompt to android-sdk folder (cd c:\android-sdk\tools)
- zip APK (zipalign -v 4 APK_FILENAME NEW_FINAL_APK_FILENAME)
That final APK file can now be uploaded to Google Play.
If you are just testing your app on a phone real quick… follow steps 1-3, then at step 4, copy the YOUR_APP_NAME-Signed.apk file to your phone and install it. That will work for testing on your phone.