Build and release an Android app
Last updated
Last updated
To publish on the Play Store, you need to give your app a digital signature. Use the following instructions to sign your app.
If you have an existing keystore, skip to the next step. If not, create one by running the following at the command line:
On Mac/Linux, use the following command:
On Windows, use the following command:
This command stores the key.jks
file in your home directory. If you want to store it elsewhere, change the argument you pass to the -keystore
parameter. However, keep the keystore
file private; don’t check it into public source control!
Go to <app dir>/android/key.properties
change your keystore reference:
command line for appbundle:
Enter cd <app dir>
(Replace <app dir>
with your application’s directory.)
The release bundle for your app is created at <app dir>/build/app/outputs/bundle/release/app.aab
.