#flutter #android-studio #dart #visual-studio-code #keytool
Вопрос:
Привет, я пытаюсь выпустить свой проект flutter, поэтому я пошел создавать хранилище ключей, я попробовал эту команду от flutter dev
keytool -genkey -v -keystore c:UsersUSER_NAMEupload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload
но у меня есть эта ошибка
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.
At line:1 char:3
keytool -genkey -v -keystore c:UsersUSER_NAMEupload-keystore.jks ...
~~~~~~~
CategoryInfo : ObjectNotFound: (keytool:String) [], CommandNotFoundException
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.
At line:1 char:1
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -val ...
~~~~~~~
CategoryInfo : ObjectNotFound: (keytool:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException
Я попытался запустить flutter doctor-v, скопировал путь после в двоичном файле java и попробовал эту команду
D:Android studiojrebinkeytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
все то же самое, так в чем же проблема?
Заранее благодарю вас!