I want to publish the bundle of my new application in Google play Console.
This is the first application I try to publish.
I want to publish it for Internal Testing.
After following the procedure in Google’s documentation, I successfully created a keystore and a key in my computer, created a signed bundle, and ran the procedure in the Google Play console until the time when the bundle needs to be loaded.
But, when I try to upload it, the following error appears: “The Android App Bundle was not signed.”
Google give you 4 options to sign-in your key.
-
At first, I choose the first one (Allow Google to manage and protect your app signing key (recommended option)), signed my bundle with my key ad uploaded it, same error.
-
After that I tried to change the keystore and key and tried again, same thing.
-
So I tried the third options (Export and load a key from the Java keystore), downloaded the pem and the jar, followed the procedure and uploaded the output.zip file, then uploaded the keystore in the previous point, same error.
-
As stated in the following thread: Error on uploading app to play console- “Upload failed The Android App Bundle was not signed .”
- I do not have debuggable enable in the project
- testCoverageEnabled is not present
My signingConfigs in the build.gradle file looks like this:
signingConfigs {
debug {
storeFile file('~/some/path/')
}
upload {
storeFile file('~/some/path/update-keystore.jks')
storePassword 'mystorepassword'
keyAlias 'somealias'
keyPassword 'mykeypassword'
}
if (System.getenv("ANDROID_KEYSTORE_PATH")) {
release {
storeFile file(System.getenv("ANDROID_KEYSTORE_PATH"))
keyAlias System.getenv("ANDROID_KEYSTORE_ALIAS")
keyPassword System.getenv("ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD")
storePassword System.getenv("ANDROID_KEYSTORE_PASSWORD")
}
} else {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
debug {
signingConfig signingConfigs.debug
}
}
Android studio did not give me any error in creating the bundle.
Could you please help me to understand what I need to do to load the bundle in google play console without error?
Thank you