1

I ran Generate Signed Bundle/APK to deploy a mobile app for internal testing. Now when I try to run the build in Android Studio on an emulator I get the following error:

05/03 08:08:31: Launching 'mobile' on Pixel 3 API 29.
Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFICATES

List of apks:
[0] '/Users/.../base-en.apk'
[1] '/Users/.../base-xxhdpi.apk'
[2] '/Users/.../base-master.apk'
APK signature verification failed.

I looked at these articles:

I expect this is a common workflow:

  1. Deploy an app to internal testing
  2. Make changes to app
  3. Run multiple versions in emulator, including release, to see effect of new changes

It's when I run it against a released version in the emulator that I have problems, but this is somewhat essential to debugging a production issue if the issue is not happening in dev/staging.

lcj
  • 1,355
  • 16
  • 37

1 Answers1

1

I suppose you have created additional buildType. Each build type must have it's own signingConfig. The debug buildType has preconfigured signingConfig for you.

So your options here are:

  1. Create a new signingConfig as mentioned in the link
  2. sign you internal testing app with the same debug signing config
android {

  buildTypes {
    internalTesting {
    ....
    ...
    signingConfig signingConfigs.debug
    }

  }
}

Mistriel
  • 459
  • 4
  • 9
  • This worked for me but I now I am encountering another issue. The app appears to be installed but when I click on it a tooltip appears "App isn't installed". To get around this I went to settings->apps->myapp->open and it opened from there. – Souleste Sep 13 '22 at 20:45