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!
Reference the keystore from the app
Go to<app dir>/android/key.properties change your keystore reference:
Building the app for release
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.