user9847788
user9847788

Reputation: 2445

Android App Bundle not generating in Android Studio

I am trying to publish my Ionic Angular app to the Google Play Store via Android Studio, but I'm having trouble generating the Android App Bundle.

When I open the app in Android Studio, I go to Build > Generate Signed Bundle / APK

The below 3 screenshots show the values I've entered.

Screen One:

first_screen

Screen Two:

second_screen

Screen Three:

third_screen

But when I click Finish, no prompts, error messages, etc. display to say whether or not the bundle was created.

When I go to android/app, there's no release folder appearing.

Can someone please tell me why no error message is appearing if the folder isn't being created?

Upvotes: 9

Views: 4265

Answers (5)

Muhsin
Muhsin

Reputation: 1

I changed my keystore path. 1st check open signed bundle option, and check your key store path.

Upvotes: 0

Phil
Phil

Reputation: 21

I'm not sure if this would still be necessary but as a reference for those who might still encounter the same issue, I'm sharing. I experienced the same issue. Instead of Generate Signed Bundle, I tried from the Build bundle but was was built was a debug version. What worked was, I selected in the key store path"Create New" (instead of choose existing)but used the same file name and password of my existing key. With this, an app bundle was generated and the notice informing the location of the file popped out with the release file in it.

Upvotes: 1

Matt
Matt

Reputation: 96

I had exactly the same problem (it looks like yet another Android Studio bug).

I solved it by:

  • deleting the release folder

  • creating a NEW KeyStore and NEW Key

Then it worked fine!

Upvotes: 8

julianpjp
julianpjp

Reputation: 112

After clicking finish in the lower right corner there should be this window: picture1

after that open the event log and click locate and it should open the folder with the apk: picture2

Upvotes: 0

julianpjp
julianpjp

Reputation: 112

Try to change the versionCode and the version name in your build gradle file:

 defaultConfig {
    applicationId "*********"
    minSdkVersion 21
    targetSdkVersion 29
    versionCode 1       // Change this to 2 or more
    versionName "1.0"  // Change this to 1.1 or more

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Upvotes: 0

Related Questions