You uploaded an unsigned APK message for a signed APK


#1

Trying to upload the latest APK to a new App in the Google Play Store as either alpha or beta I am getting the following message:

Upload failed
You uploaded an unsigned APK. You need to create a signed APK. Learn more about signing.

This is despite the building, signing and zipaligning all appearing to go as expected according to the official guide here..

It says Verification was successful and I have an APK that appears to be signed as expected, yet Google continues to say it is unsigned.

Has anyone had this issue, or can point me in the direction of where to look first? A google search and a look through these forums has turned up nothing.

Thanks guys!
Cheers
Adam


#2

Ok answering my own question here for others. The issue was that my alias_name’s did not match up between generating the keystore and doing the signing:

keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore android-release-unsigned.apk alias_name

So basically ensure the two bolded names match else it will appear things signed ok, but in reality they don’t.