William23668 8 Posted September 27 (edited) 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 September 27 by William23668 Share this post Link to post
Dave Nottage 563 Posted September 27 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: Share this post Link to post
William23668 8 Posted September 27 (edited) 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 Edited September 27 by William23668 Share this post Link to post
William23668 8 Posted September 27 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