Skip to main content

Whilst uploading a new version of our Android app, I had the following error display

The Android App Bundle was not signed.

The short answer is in the build type release debuggable isn't set to false.

 

How to solve

In the build.gradle file (path: android > app)

{
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            debuggable false
            jniDebuggable false
            renderscriptDebuggable false
            minifyEnabled false
        }
    }
}

Debuggable hadn't been set to false for release... it was missing all together.  The updated file looks like:


    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            debuggable false
            jniDebuggable false
            renderscriptDebuggable false
        }
        debug {
            debuggable false
            jniDebuggable false
            renderscriptDebuggable false
            minifyEnabled false
        }
    }

This can also be edited through Android Studio... File > Project Structure.  Then go to Build Variants and select release.

 

Related articles

Andrew Fletcher16 Aug 2022

How to handle a lost KeyStore password in Android?

If you have a situation where either you have forgotten a Keystore password or change of developers and the password wasn't sent across.... what to do?  However, your app lives on and needs to be updated!   Possible solutions grade.properties This is a great starting point....
Andrew Fletcher03 Aug 2022

Android Studio emulator not loading

What I'm seeing in Android Studio when attempting to run the emulator? Launching 'app' on Pixel 5 API 33. Install successfully finished in 153 ms. $ adb shell am start -n "{project}.app.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Timed out waiting for...