Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Having Trouble Updating an App in Google Play Store

Avatar

Level 6

We've created an AEMM app that is an update to a previous digital pub app that was NOT made w/ AEMM.

In order to submit the app as an update to the Google Play Store, the .apk file must be signed with the same certificate as the original app. The original app had been created by NXTBook Media. We were able to obtain the original certificate and passwords from them - however, it is not a .p12 certificate. It appears to be some sort of keystore certificate, generated by Android Studio - “keystore.jks” and requires two complex passwords, which I have. 

I don’t know how to  sign the unsigned .apk w/ Android Studio using the original certificate - or know if that is even possible. I can select the certificate and add the passwords but the application doesn’t seem to allow me to target the .apk file we created w/ AEMM.

Any advice, or instruction anyone can provide, on how to resolve this issue, would be greatly appreciated!

Thank you,

Tommy

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Tommy,

Do you have the AEM Mobile Signing Tool? My guess is that you do, but that you cannot use the ".jks" file with it because the tool is wants a ".keystore" file. Both can contain certificates, and so my first try would be to backup the original file, then create a copy with the extension of the file changed to ".keystore" and see if that works in the tool. If that doesn't work, you'll need to better understand what's in the file. There are many tools available to do that - one that I have used before is the Keystore Explorer.

Thanks,

Kirk Mattson

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Hi Tommy,

Do you have the AEM Mobile Signing Tool? My guess is that you do, but that you cannot use the ".jks" file with it because the tool is wants a ".keystore" file. Both can contain certificates, and so my first try would be to backup the original file, then create a copy with the extension of the file changed to ".keystore" and see if that works in the tool. If that doesn't work, you'll need to better understand what's in the file. There are many tools available to do that - one that I have used before is the Keystore Explorer.

Thanks,

Kirk Mattson

Avatar

Level 6

Thanks Kirk. I'll try that. Definitely not familiar w/ the Android app build process.

-Tommy

Avatar

Level 6

I think it may have worked!!! Appeared to sign successfully. Now, I'll try uploading it to Google Play and see if it holds up!  Thanks Kirk!