Jump to content
William23668

Help needed to sign .aab file

Recommended Posts

Hi

 

I googled alot but could not find a solution to sign .aab file. I reviewed this page 

https://docwiki.embarcadero.com/RADStudio/Athens/en/Submitting_Your_Android_App_to_Google_Play

 

and tried this command:

java.exe -jar j:\signapk\bundletool.jar build-apks --mode=universal --bundle=j:\signapk\myapp.aab --output=j:\signapk --ks=j:\signapk\myapp.keystore --ks-pass=xxx:xxx --ks-key-alias=myapp --key-pass=xxxx:xxxx

 

and got this error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/ddmlib/Log$ILogOutput has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

 

I downloaded now recent version of java run time but I still get same error. How to sign this file ?

 

Delphi 12

Edited by William23668

Share this post


Link to post
52 minutes ago, William23668 said:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/ddmlib/Log$ILogOutput has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

You're using the wrong JDK. Later versions of Delphi require Eclipse Temurin Open JDK. In the Delphi menu, click Tools > Manage Features, then scroll the right hand side down to the bottom, select Eclipse Temurin Open JDK and click Apply. You'll then need to configure the Android SDK settings to use it:

image.thumb.png.ca500cb8170681ad0387235a695578de.png

 

 

Share this post


Link to post

I can not get it to work. when I upload to google play , google display error "All uploaded bundles must be signed." I just need the file signed for google

 

I choose google to manage app signing but when I upload the file .aab I get this error All uploaded bundles must be signed

 

image.thumb.png.65ce423a97e155af4a2b44fd393ebe41.png

Edited by William23668

Share this post


Link to post

Problem solved

 

I found that I can not use apk google now accept .aab only . And I created keystore from Delphi itself and it signed the file automatically.

 

Thanks

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×