Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 260
user9847788 Avatar asked Jun 05 '20 18:06

user9847788


2 Answers

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!

like image 173
Matt Avatar answered Sep 27 '22 16:09

Matt


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.

like image 36
Phil Avatar answered Sep 27 '22 18:09

Phil