how to generate keystore file from certificate using keytool on andriod studio code example
Example: android create keystore command line
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000