App.js
file there. (If you are a web developer, you may already have a local environment set up for mobile browser testing!)keytool
. On Windows keytool
must be run from C:Program FilesJavajdkx.x.x_xbin
.my-upload-key.keystore
.$ cd /your/jdk/path
and use the keytool command with sudo permission as shown below.my-upload-key.keystore
file under the android/app
directory in your project folder.~/.gradle/gradle.properties
or android/gradle.properties
, and add the following (replace *****
with the correct keystore password, alias and key password),~/.gradle/gradle.properties
.android/app/build.gradle
in your project folder, and add the signing config,bundleRelease
will bundle all the JavaScript needed to run your app into the AAB (Android App Bundle). If you need to change the way the JavaScript bundle and/or drawable resources are bundled (e.g. if you changed the default file/folder names or the general structure of the project), have a look at android/app/build.gradle
to see how you can update it to reflect these changes.android/app/build/outputs/bundle/release/app.aab
, and is ready to be uploaded to Google Play.--variant=release
is only available if you've set up signing as described above.app/proguard-rules.pro
.android/app/build.gradle
:android/app/build.gradle
to use the upload key instead of the release one (see section about adding signing config to gradle). Once that's done you should follow the instructions from Google Play Help website in order to send your original release key to Google Play.