I have a new app I want to publish on Google play. Since it is new I understand that I have to sign it, and use the .AAB file. Searching through the internet it is not so easy to find out how to do this. But this is what I have done so far:
- I build the .apk file for the app. According to @Anke a new keystore is created. I download it:
And I store it in a folder called app-signing.
- I go to the play console, and select export and upload a key from a java keystore:
I then download the file pepk.jar and the file encryption_public_key.pem and store them in the same folder as the keystore file. So I open the conolse and goes to the directory where the files are stored:
I then run this command:
java -jar pepk.jar --keystore=android.keystore --alias=androidkey --output=result.zip --include-cert --rsa-aes-encryption --encryption-key-path=encryption_public_key.pem
The file signing file result.zip is created. So far so good. I then goes back to play console. here I upload this file:
So I press save. But then, after a whille I got this:
The red text is in the Norwegian language, but translated to Englsih it ays:
Use a valid app signing key to continue
Anyone who knowws what the problem is?
Best wishes, Svein-Tore