Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't find the debug.keystore file

I'm having an error with Eclipse and Android's SDK. apparently, it comes from the fact that my certificate expired. So I googled the error and I found that I have to remove the ~/.android/debug.keystore file. The thing is I can't find this file. It's not in my SDK.

Can someone help me with this ?

Edit: I work on Mac.

like image 275
user1173126 Avatar asked Feb 22 '12 15:02

user1173126


People also ask

Where can I find debug keystore?

The default keystore file: debug. keystore is present in the folder . android which is usually located in the default home folder of your operating system of the user who installed that Android SDK.

Where is the keystore file located?

The default location is /Users/<username>/. android/debug. keystore.

How do I find my debug keystore password?

Usually the debug. keystore password is just "android". You can delete it and Eclipse will automatically generate a new one, as described here.


Video Answer


2 Answers

Open Eclipse Preferences, then navigate to Android > Build. There you'll see a field that tells the location of your debug keystore.

like image 73
E-Riz Avatar answered Oct 17 '22 12:10

E-Riz


On Linux / OSX use your favorite terminal and type rm ~/.android/debug.keystore to remove the debug keystore.

You can create a new keystore after that by following these steps.

like image 25
keyboardsurfer Avatar answered Oct 17 '22 12:10

keyboardsurfer