Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing keystore in Flutter

I want to get the SHA-1 code, but I encountered an error.

C:\Users\erdem\AndroidStudioProjects\flutter_app\android>gradlew signinReport

Missing Keystore

how can I solve this problem?

like image 246
EDMGL Avatar asked Jan 19 '26 00:01

EDMGL


1 Answers

I was trying to get the SHA1 but I couldn't get because of the missing keystore error, I tried that and it worked for me I don't know if it really works.

If you have your own jks file and did lead it with key.properties but still gives the error Missing Keystore that worked for me :

  1. Type keytool -alias "AndroidDebugKey" -genkeypair in the terminal of your android studio give it a password of android.
  2. The rest of the fields or questions asked after that don't matter so just press Enter.
  3. Go to your home directory (C:\Users) and look for a file named as .keystore.
  4. Rename .keystore to debug.keystore.
  5. Now copy and paste it to (C:\Users.android).
  6. Re-run the signReport task to generate a new key for APP.

source: https://stackoverflow.com/a/63064024/7767761

like image 139
Doğaç Avatar answered Jan 21 '26 13:01

Doğaç



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!