arkmetal
arkmetal

Reputation: 731

Where is the debug.keystore on Mac?

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

Answers (8)

cat
cat

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

Osama Remlawi
Osama Remlawi

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

Pragati Singh
Pragati Singh

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

sabadow
sabadow

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

Kirit  Vaghela
Kirit Vaghela

Reputation: 12674

  1. Open Finder

  2. select menu Go -> Go To Folder...

  3. type /Users/username/.android

Upvotes: 9

Kirtikumar A.
Kirtikumar A.

Reputation: 4204

You will find debug.keystore file here, fire this command in terminal to see hidden file

  1. defaults write com.apple.Finder AppleShowAllFiles YES
  2. Go to home directory
  3. go to .android folder which will be hidden

Upvotes: 4

Jayeshkumar Sojitra
Jayeshkumar Sojitra

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

jonp
jonp

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

Related Questions