Now, we need to sign the unsigned APK and run an alignment utility on it to optimize it and prepare it for the app store. If you already have a signing key, skip these steps and use that one instead.
Let’s create keystore file using this command Syntax:
keytool -genkey -v -keystore .keystore -alias -keyalg -keysize -validity
For Example :