Execution failed for task ':app:bundleRelease'. Error while executing bundletool
Building the Android App Bundle (.aab) failed in the bundle step.
Execution failed for task bundleReleaseError while executing bundletoolExecution failed for task ':app:bundleRelease'. > A failure occurred while executing com.android.build.gradle.internal.tasks.BundleToolTask Meaning
bundleRelease runs bundletool after R8/resource linking. Look for the root cause lower in the stack: duplicate files, an invalid ABI split, or a corrupt resource.
Common causes
- Duplicate or invalid native libs
- Corrupt resource or asset
- Invalid splits configuration
⚡ Quick fix
- Run with --stacktrace and read the root cause
- Check packaging { jniLibs } rules
- Clean and rebuild
Detailed fix by platform
Shell
./gradlew :app:bundleRelease --stacktrace --info
How to diagnose
- Root cause — first Caused by?
- ABI — splits configured?
- Clean — done?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Android
- INSTALL_FAILED_USER_RESTRICTED INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo)
- INSTALL_PARSE_FAILED_NO_CERTIFICATES INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid
- INSTALL_FAILED_OLDER_SDK INSTALL_FAILED_OLDER_SDK / INSTALL_FAILED_DEPRECATED_SDK_VERSION
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Nov 2026