简体   繁体   中英

java.io.IOException: Invalid keystore format how can i fix the problem?

I've been trying to solve the problem for the past 5 hours, but I just can't find the problem. I just want to have the SHA-1 value and then enter this command in my project in the terminal, but an error message comes up all the time and I can't find a solution.

keytool -list -v -alias androiddebugkey -keystore C:\Users\kokot\.android\debug.keystore

enter image description here

the path to debug.keystore is also right enter image description here

Even if I create the keystore file again, errors come up. But to be honest, I don't even really understand the problem, because it's the first time I've had one and I can't find much about it on the inte.net.

``

guys i made it I got my SHA-1 value!!! It just took me 15 hours hahaha

https://docs.flutter.dev/deployment/android#create-an-upload-keystore

if you have executed the code as in the link, then enter keytool -list -v -keystore C:\Users\$Username\upload-keystore.jks

Then the program will give you your SHA-1 value without any problems.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM