Gradlew bundleRelease doesnt generate release apk in react-native

Use gradlew bundleRelease to generate an app bundle (.aab file) and gradlew assembleRelease to generate an apk (.apk file). To install a release on your emulator, use react-native run-android --variant=release. I hope this helps


the short answer uses gradlew assembleRelease instead.

not short answer :) The command you are using gradlew bundleRelease builds an android App bundle. read this: Difference between apk (.apk) and app bundle (.aab) and this: https://developer.android.com/guide/app-bundle AAB file is new and not all stores support it.


I had the same problem. Following command worked for me:

After the ./gradlew bundleRelease command we get a .aab version of our app. To get APK, you should run the app with release version on any device with the below command.

  • Make sure you have connected an android device
  • For the production ready app, firstly you have to remove the previous app from the device

Run this command in your-project/:

react-native run-android --variant=release

Then APK can be found in android/app/build/outputs/apk/release

Hope this helps