ApplikasiMesin Kasir

MESIN KASIR BLOG

Keystore flutter eror for relase android

keytool : The term 'keytool' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
This is a command eror after run cli command
keytool -genkey -v -keystore c:\Users\USER_NAME\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key

What the problem and how to solved this on windows OS ??
1. for the first you must check where your jre of java file folder , in this case my jre folder on C:\Program Files (x86)\Java\jre1.8.0_144

2. after jre folder you must need run CMD for administrator , how use cmd administrator ?? on cmd you just right click and run as administrator.

3. Now CMD is open as adminstrator , you need just run cli cd on cmd like this code :
cd C:\Program Files (x86)\Java\jre1.8.0_144\bin

4. After open directori java jre now you can run flutter CLI command for keystore like this code :
keytool -genkey -v -keystore c:\Users\USER_NAME\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key

5. And viola..... now you can normaly use keystore flutter for relase android apps.

I hope this blog post article help and solved you problem about Keystore flutter eror for relase android.

And if you need web app or modern website you can contact we team.
or visit home page for product details. www.hockeycomputindo.com

Tidak ada komentar:

Posting Komentar

Mesin Kasir News