Questions tagged [bundletool]
22 questions
4
votes
2 answers
Build Android App bundle from the command line
My APK file is already signed (with jarsigner) and compressed (with zipalign). I do it via a bash script. Though I'm getting a warning in Play Console to use Android App Bundle:
Reduce the size of your next release using the Android App Bundle.…

João Pimentel Ferreira
- 14,289
- 10
- 80
- 109
2
votes
1 answer
Code verification error when uploading AAB: "Files added after transparency metadata generation"
We have a problem with uploading the next version of the application. We use code transparency for bundle and when we try to upload to Google Store it returns an error:
An error occurred while running bundletool build-apks on your uploaded App…

Petr Daňa
- 1,263
- 12
- 18
1
vote
0 answers
Command that reflects the update scenario in the store
How should bundle files be tested at the command line level to most accurately reproduce the scenarios that occur in the Google Play Store?
We use the following command to install the build for the connected device:
bundletool-all-1.14.0.jar…

Cerviany
- 49
- 4
1
vote
1 answer
Generate .abb file from apk or using cordova
As playstore requires the application in the .aab format, I want to build the same from my ionic v2 project or convert apk to .abb
The following commands did not work for me. I shall provide the details of cordova and ionic, help me with the…

unlimit
- 21
- 7
1
vote
1 answer
Why Android Developer Bundle Tool Does not Recognize the Key In my Keystore?
I have an entry in my keystore file. I can see the contents with the command:
$ keytool -list -keystore app-signing-key.keystore
Enter keystore password:
Keystore type: jks
Keystore provider: SUN
Your keystore contains 1 entry
appsigning, Sep 8,…

p.matsinopoulos
- 7,655
- 6
- 44
- 92
1
vote
1 answer
Bundletool build-bundle error: Protocol message end-group tag did not match expected tag
I am trying to turn an apk into aab, decompile with apktool, and build with aapt2 and bundletool (all in command line, without gradle).
After decompile, aapt2 compile and link looks good, but when I execute build-bundle with bundletool, I got this…

Thx61
- 21
- 5
1
vote
0 answers
Get aapt badging for my android app bundle file
I am trying to get the aapt badging for my android app bundle file. I know that bundletool has a command to dump the manifest for a file via the command -
bundletool dump manifest --bundle=my-bundle.aab
The dump manifest command returns the…

Shubham Saxena
- 37
- 5
1
vote
2 answers
If I sign an AAB with jarsigner, do I need to sign the APKS and also the resulting APKs before deploying?
In Azure DevOps, I'm unzipping an aab, modifying some files (icons, resources, manifest) in the aab, and using bundletool to build the modules. My next steps are:
Use jarsigner to sign the aab
Use bundletool to generate the APKS and passing the…

valdetero
- 4,624
- 1
- 31
- 46
0
votes
0 answers
Description of the convert from AAB to APK
I am needing to know about the description of the process of converting from AAB to APK. In addition, I also want to know if each tool like apk tool or bundletool does different jobs
I tried to learn about the conversion process description between…
0
votes
1 answer
Can I add flags to bundletool command in Android Studio?
Does Android Studio use bundletool build-apks command while Deploying "APK from app bundle" (building app bundles)?
If so, how can I configure or add flags to that command in Android Studio?

Kavyasri K
- 35
- 4
0
votes
1 answer
A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnabl
* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
> Failed to read key mlive from store "C:\khalid\New…
0
votes
0 answers
The APKs won't be signed and thus not installable unless you also pass a keystore via the flag --ks
Bundle bundletool build-apks --bundle=app.aab --output=release_app.apks
WARNING: The APKs won't be signed and thus not installable unless you also pass a keystore via the flag --ks. See the command help for more information.
how can i know --ks path…
0
votes
0 answers
Gradle's bundleRelease differs from assembleRelease?
It appears apk generated from bundle in universal mode is different from apk generated by assembleRelease. Specifically, application crashes with raw Lottie resource (if that matters) com.airbnb.lottie.parser.moshi.JsonUtf8Reader.nextNonWhitespace…

ror
- 3,295
- 1
- 19
- 27
0
votes
0 answers
Get the content from the output APK of aapt2 link
I'm trying to create Android App Bundle (.aab) as it is described here Build your app from the command line.
I first compile the resources:
aapt2 compile res/drawable-hdpi/icon.png -o compiled_resources
aapt2 compile res/drawable-ldpi/icon.png -o…

Maor2871
- 147
- 1
- 13
0
votes
1 answer
Android: MANIFEST.MF missed while generating the apk from the aab using bundletool
We upgraded to the latest Gradle 7.2. Before the upgrade, it used to work
While generating the apk file from the aab using the bundletool, MANIFEST.MF file is not buldled in the apk.
And the MANIFEST.MF file is present in the aab.
If I generate an…

Ashok Tallapelli
- 1
- 1