Reputation: 731
I'm trying to generate my fingerprint and it supposed to be here : ~/.android/debug.keystore
, but I don't have nothing there, although I can run my monodroid projects normally as well, so how can I find the debug.keystore file?
Upvotes: 33
Views: 51385
Reputation: 2895
2024: I had this problem on MacOS Sonoma with Android Studio Hedgehog. ./android/debug.keystore.lock exists but no debug.keystore. Deleting .android does not help. I think there is some Apple system holding an outdated version of this file. Its not Keychain :-(
Symptom: unrecognized algorithm name: PBEWithSHA1AndDESede
Solution: create the file with keytool -genkey -v -keystore ~/.android/debug.keystore ...
Upvotes: 0
Reputation: 2990
For mac path, you have to create another file called debug.key.properties
, it paste the following 4 lines inside it (and don't forget to adjust it with your values):
storePassword=yourPassword
keyPassword=yourKeyPassword
keyAlias=yourKeyAlias
storeFile=//Users//test//Desktop//project//Debug//debug.keystore
Upvotes: 0
Reputation: 2523
Path with get SHA1 on android studio from command prompt
keytool -list -v -keystore {complete path to debug.keystore} -alias androiddebugkey -storepass android -keypass android
Example:-
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Upvotes: 16
Reputation: 5161
The debug.keystore is in the folder that you say, but it's hidden so you can't see it on Finder.
Open a terminal and type:
cd ~/.android/
ls
If you could see the debug.keystore, that's the right folder. If you need to open in Finder, type in the same folder:
open .
Regards.
Upvotes: 84
Reputation: 12674
Open Finder
select menu Go -> Go To Folder...
type /Users/username/.android
Upvotes: 9
Reputation: 4204
You will find debug.keystore file here, fire this command in terminal to see hidden file
defaults write com.apple.Finder AppleShowAllFiles YES
Upvotes: 4
Reputation: 2511
Simply you can open Finder then you can go through following path.
Go -> Home -> ./android/debug.keystore
Make sure that you can see the hidden files and folders.
Upvotes: 10
Reputation: 13600
The Mono for Android debug.keystore
file is in $HOME/.local/share/Xamarin/Mono for Android
. (Yes, there are spaces in that directory name.)
Upvotes: 11