Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3.5: Generate Signed Bundle does not get any results

Tags:

I followed these steps:

  1. In top menu bar, click on Build > Clean Project.

  2. In top menu bar, click on Project > Build Bundle(s)/APK(s) > Build Bundle(s).

  3. The Event Log pane will give the time and status of your build:

    08:19 Build Bundle(s)

    App bundle(s) generated successfully for 1 module:

    Module 'app': locate or analyze the app bundle.

You can click on "locate" to show the .aab file in the Finder window, in platforms/android/app/build/outputs/bundle/debug/app-debug.aab

After this I followed:

  1. In top menu bar, Build > Generate Signed Bundle / APK...

  2. You'll get the options to sign an Android App Bundle (top option) or an APK. The Android App Bundle is selected by default. Click on Next.

  3. The Generate Signed Bundle or APK window has several fields to fill out. "app" should be in the Module field.

I filled out the fields.

When all is said and done, Event Log did not display anything regarding the signed bundle. There is no change in the .aab file (I checked the date/time). I kept the export encrypted kit location as Desktop, but there is no .pepk file there.

Event Log does not display any errors or warnings.

(I wrote a complete article on my process here: https://iphonedevlog.wordpress.com/2019/09/17/making-an-android-app-bundle-aab-file-from-a-cordova-project/)

like image 785
Steve Avatar asked Sep 17 '19 15:09

Steve


People also ask

How do I get a signed AAB?

Generating an AAB in Android Studio To create an AAB binary locally using Android Studio, open the Build menu, then choose “Generate Signed Bundle / APK.” Follow the prompts to sign the AAB with your keystore file. For complete details, view the Android documentation.

Where is generate signed bundle?

In the menu bar, click Build > Generate Signed Bundle/APK. In the Generate Signed Bundle or APK dialog, select Android App Bundle or APK and click Next. Below the field for Key store path, click Create new.

Which file is used to generate signed APK?

Generate a signed APK file, open the Build menu from the toolbar and select Generate Signed Bundle/APK. Select between creating an Android App Bundle and APK file. Enter Key store path, Key store password, Key alias, and the Key password.

How do you test bundle app?

Step 1: Go to Android Studio -> Build ->Generate Signed Bundle. Select Android App Bundle on the pop screen and select Next. Step 2: Enter the KeyStore path where the KeyStore is stored or Create a new KeyStore as seen below. Step 4: Select the release mode from the list and select finish.


2 Answers

I faced the same issue. I solved it by trying to sign it as apk instead of bundle and in that case android studio gave me log details. In my case, the problem was the key password that was wrong. After i confirmed that I was able to successfully build a signed apk, I tried to build a bundle and it worked.

like image 107
while true Avatar answered Sep 19 '22 17:09

while true


In my situation the password was wrong. I added extra space.

like image 41
Amira Samawi Avatar answered Sep 20 '22 17:09

Amira Samawi