29

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?

Michaël
  • 3,679
  • 7
  • 39
  • 64
arkmetal
  • 681
  • 3
  • 11
  • 25

6 Answers6

81

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.

sabadow
  • 5,095
  • 3
  • 34
  • 51
13

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

JohnnyLambada
  • 12,700
  • 11
  • 57
  • 61
Prags
  • 2,457
  • 2
  • 21
  • 38
11

The Mono for Android debug.keystore file is in $HOME/.local/share/Xamarin/Mono for Android. (Yes, there are spaces in that directory name.)

jonp
  • 13,512
  • 5
  • 45
  • 60
  • i realise that my problem was my apiKey, i got my fingerprint from another directory: ~/.android/debug.keystore and i didnt think that was the problem, because i generate with it in order to obtain my apikey and i use it in my Java android app and was working fine, but then i try change it to the debug.store that is located in this directory: $HOME/.local/share/Xamarin/Mono for Android/debug.keystore, and throws me another fingerprint, so i use it to generate another apikey, and then magically works my app on Mono. Despite of thank you very much for your help. – arkmetal Feb 02 '12 at 16:33
10

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.

Jayeshkumar Sojitra
  • 2,501
  • 4
  • 31
  • 44
9
  1. Open Finder

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

  3. type /Users/username/.android

Kirit Vaghela
  • 12,572
  • 4
  • 76
  • 80
4

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
Kirtikumar A.
  • 4,140
  • 43
  • 43