Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Need help with updating existing app on the store..

Author
Message
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 25th Jan 2024 17:09
I am trying to update an app I have on the store, which has proved to be somewhat problematic.

First I compiled an apk, which was rejected for the following reason.

Quote: "The app is published as an apk that supports TV. In other words, it contains <category android:name="android.intent.category.LEANBACK_LAUNCHER"/> under one of the intent-filter of the main activity . It must be published as an app bundle instead."


No bother, I thought, I'll just compile it as an .aab file instead and try that. It didn't take long to create the file and upload it, only to be met with the following error...

Quote: "To upload an Android App Bundle you must be enrolled in Play App Signing."


*sigh*

Ok, so this is already taking much longer than I had hoped it would. Surely signing up to Play App Signing can't be much of a hassle can it?

It can.

It can indeed...

I chose the "Use existing app signing key from Java KeyStore" option, which is the only one which isn't hidden as an "advanced option".

It took longer than I care to mention to figure out how to enter the line of Java the Console provides, but it seems to need an Alias? Which my keystore doesn't have. When compiling .apks previously I have always left the alias boxes on the compilation dialogue blank.

The next option down, and the first of the "Advanced options", was "Use existing app signing key from another repository". The instructions for this one made a lot less sense.

The final option was "Use a new app signing key (this requires ongoing dual releases)", which I think I would rather avoid.

Can anyone please help me with this? I need to get this app updated as soon as possible.

Thanks in advance.




GemGames
5
Years of Service
User Offline
Joined: 31st May 2018
Location: Edmonton, Alberta, Canada
Posted: 25th Jan 2024 21:15
I don't know much about the Google Play Store or Android app signing, but after doing some online searching possibly this could be helpful:

1. Could you try "Show advanced options" --> "Use a new app signing key", using a key which is generated from Android Studio?

2. Based on the information found in the search results: Could you switch to Play App Signing, which would create the option for the upload key and the app signing key to be separate keys? The app signing key is then stored on Google's own system. Doing so eliminates the dual use of a single key.

3. Possibly, these URLs could be helpful:

Sign your app | Android Studio | Android Developers
https://developer.android.com/studio/publish/app-signing

How to Publish App to Google Play Store - Complete Guide | Android Tutorial - YouTube
https://www.youtube.com/watch?v=Ormjb-BX1sw

Use Play App Signing - Play Console Help
https://support.google.com/googleplay/android-developer/answer/9842756?hl=en

Android signing key - multiple keys in your keystore? - Stack Overflow
https://stackoverflow.com/questions/29617615/android-signing-key-multiple-keys-in-your-keystore

Answers to common questions about Play App Signing | by Wojtek KaliciƄski | Android Developers | Medium
https://medium.com/androiddevelopers/answers-to-common-questions-about-app-signing-by-google-play-b28fef836af0

App signing keys for bundle - VoltBuilder
https://forum.volt.build/t/app-signing-keys-for-bundle/907

Again, I am just relaying this information from an online search engine, so please overlook anything here that might not be very helpful, thanks! I wish you success.
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 26th Jan 2024 13:45 Edited at: 26th Jan 2024 13:46


So, just to clarify, the suggested option in the image above doesn't work because my AppGameKit provided keystore has no alias. You cannot run the pepk tool without providing it with an alias.

My instinct tells me I should use option 2, but the instructions do not make any sense to me (I am probably missing something obvious)

Has anyone had this issue before? I can't be the only person needing to update apps on the Google Play Store? :/
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 26th Jan 2024 21:11
Ok, Thanks to Virtual Nomad pointing me towards this forum post...

https://forum.thegamecreators.com/thread/227906

I found out what the Keystore alias was, and was able to get one step further.

However this error is now causing problems...



Please can someone help me with this. It is very important I get these apps update.
Zappo
Valued Member
19
Years of Service
User Offline
Joined: 27th Oct 2004
Location: In the post
Posted: 27th Jan 2024 00:50
The Oracle JDK has different tools and it looks like what you need isn't included. Try using OpenJDK instead as that should include what you need and seems to be what Google expect you to have. I haven't downloaded it in a long time but I think you can get it from here: https://jdk.java.net/21/
Zaxxan
AGK Developer
3
Years of Service
User Offline
Joined: 17th Nov 2020
Location: England
Posted: 27th Jan 2024 01:18 Edited at: 27th Jan 2024 01:21
I have always generated the key using the key tool generator in studio, selected the key that I have just generated in the export tool, entered the password that was used to create the key, select AAB, enter the release number and then click export. The release number has to be increased for each release. I've never had to use the pepk tool.

I always save the key and use it for every update
PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 27th Jan 2024 03:48 Edited at: 27th Jan 2024 03:50
You might want to have a look at this thread:
https://github.com/TheGameCreators/AGK-Studio/issues/1114

I had quite similar problems with .aab files as I had never used them before. Reading the thread should answer your questions I hope
I also had that encryption error you experienced, so I downloaded OpenJDK 11.0.21+9, which resolved the issue.

PSY


PSY LABS Games
Coders don't die, they just gosub without return
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 27th Jan 2024 14:05
I thought I had already installed and set the path for OpenJDK before I started this, but it seems I had not done it properly, as when I checked the java version, it told me I was using 19, not 21. My machine also had both 18 and 19 JDK from Oracle.

The OpenJDK one did not come as an installer, just a zip file. I extracted it and added the path, so I thought it was working.

I fixed the issue by uninstalling all the Oracle JDKs, leaving only the OpenJDK.

I have since created and uploaded the output file successfully!

The downside to uninstalling the Oracle JDKs is that my AGKS installation can no longer find Java and export to Android! But I'm certain that won't be too hard to fix. (Hopefully anyway!!)

Login to post a reply

Server time is: 2024-05-02 21:43:19
Your offset time is: 2024-05-02 21:43:19