Hello friends, In today’s tutorial we would learn about creating release-key.keystore file for flutter for generating signed APK. The release-key.keystore file contain all the basic information about application like who is the author of application, what is the developer’s organization unit? What is your city, country code and State. Now we would also set Password for our keystore file and key-alias in this file. So in this tutorial we would learn about Generate release-key.keystore File in Flutter For Signed APK.
Contents in this project Generate release-key.keystore File in Flutter For Signed APK :-
1. First of all we have to launch Command Prompt Run as Administrator.
3. Now we have to execute below command to generate Key store file.
1 |
keytool -genkey -v -keystore release-key.keystore -alias key-alias -keyalg RSA -keysize 2048 -validity 10000 |
4. After pressing Enter, It’ll ask us about Entering keystore password, our first and last name, our organizational unit name, our city name, country name, country code and at the end it will ask us about password for key-alias.
5. Now after entering all the information above, You will see that your command has successfully done. Now go inside your JAVA -> JDK -> Bin folder and your generated release-key.keystore File will be there.
Now here is some important information you will need when you use release-key.keystore File to generate Signed APK :-
1 2 3 4 |
RELEASE_STORE_FILE = release-key.keystore RELEASE_KEY_ALIAS = key-alias RELEASE_STORE_PASSWORD = 123456 RELEASE_KEY_PASSWORD = 123456 |
Thanks for reading our article.
if we open android part in android studio then AS provide easy way to generate keystore file.