0

I published this app on the playstore (https://play.google.com/store/apps/details?id=com.brawlcalculator) and I want to reduce the dimension of the app using an app bundle. I created the app with React Native and I used in the same project this command to create the apk(./gradlew clean && ./gradlew assembleRelease) and I successfull published it into the playstore, then I created the app bundle with this command (./gradlew bundleDebug) and when I tried to upload the appbundle it gives me an error: "The appbundle have the wrong key". Does I have to upload the apk and the appbundle together?

1 Answers1

0

assembleRelease signs the APK with your release key, while bundleDebug signs the Bundle with your debug key.

Instead, you should upload the Bundle built with your release key, which you can do using the bundleRelease task.

Pierre
  • 15,865
  • 4
  • 36
  • 50
  • Does I need to load both apk and app bundle or I need to upload just one of them? – Marco Sajeva May 20 '19 at 16:46
  • Just one of them. They're the same app under different formats. With the App Bundle, you just get more optimizations from Google Play. – Pierre May 20 '19 at 21:15