TotomisPanos commented on issue #1387: URL: https://github.com/apache/cordova-android/issues/1387#issuecomment-1935808701
> @JLWINC @dpchami The complete way we had to do: > > 1. Download `bundletool-all-1.8.2.jar` from [this link](https://github.com/google/bundletool/releases), download the latest version available. > 2. Create an app bundle using cordova `cordova build android --prod --release` > 3. Copy the bundletool jar to some location and get its path. In my case its `C:\Users\eviv3k\Desktop\bundletool-all-1.8.2.jar` > 4. Use this command: `java -jar "BUNDLE_TOOL_JAR_PATH" build-apks --mode=universal --bundle="BUNDLE_PATH" --output=YOUR_OUTPUT_NAME.apks` In my case it will be `java -jar "C:\Users\eviv3k\Desktop\bundletool-all-1.8.2.jar" build-apks --mode=universal --bundle="C:\Users\eviv3k\Desktop\app-release.aab" --output="C:\Users\eviv3k\Desktop\my_app.apks" --ks="D:\Works\certificates\my-release-key.keystore" --ks-key-alias=alias_name"` > 5. This will create a file `my_app.apks`, rename it to .zip `my_app.zip`, extract this file, and done You will have `universal.apk`. Bump! This fixed it! Works great -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org