Reputation: 2256
How can i see my debug.keystore password? I entered my password 3 or 4 month ago and now i don't remember.
If it is impossible, how can i create new debug.keystore?
Upvotes: 179
Views: 98147
Reputation: 7130
The Default Configuration of debug.keystore file:
Keystore name: "debug.keystore"
Keystore password: "android"
Key alias: "androiddebugkey"
Key password: "android"
CN: "CN=Android Debug,O=Android,C=US"
Where is this file located?
For Windows users: C:\Users\[username]\.android\debug.keystore
For macOS users: ~/.android/debug.keystore
You can get the SHA1 by using the following command:
keytool -list -v -keystore "C:\Users\[username]\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
Note: The above answer has just information of Android Studio's default configuration to access the debug.keystore
(debug certificate). You can make a custom certificate if you want to use your own password or configuration.
Upvotes: 178
Reputation: 468
What i did was create signed key, I was able to observe this when i read the errors probbaly https://reactnative.dev/docs/signed-apk-android
Upvotes: 0
Reputation: 130
If you are not certain that the password has been set before, try just empty password. It worked for me.
Upvotes: 7
Reputation: 11688
Usually the debug.keystore
password is just "android".
You can delete it and Eclipse will automatically generate a new one, as described here.
Upvotes: 400
Reputation:
Again you can generate your google api key. Your .keystore file will be, In Eclipse, Windows -> preferences ->Android -> build ->default debug keystore path will be there. You just use that .keystore and generate your api key again by using this link:
http://lokeshatandroid.blogspot.in/2012/05/obtaining-google-maps-api-key.html
Upvotes: 3