Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

There is no debug.keystore in .android folder

Someone I'm helping with an application needs to locate her debug.keystore - mine is in my .android folder, but when I navigate there on her computer it is not there.

Does something need to be done in order for it to appear? Where is it / how can it be generated again?

like image 675
Cody Avatar asked Dec 20 '11 14:12

Cody


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.

What is a debug keystore?

A debug keystore which is used to sign an Android app during development needs a specific alias and password combination as dictated by Google. To create a debug keystore, use: $ keytool -genkey -v -keystore debug.

Where is the Android keystore located?

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


3 Answers

According to the documentation, performing a build in Eclipse or using ant debug should automatically generate ~/.android/debug.keystore.

But in case this doesn't work, you can create one manually by running:

keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"
like image 134
John Mellor Avatar answered Oct 22 '22 20:10

John Mellor


If she is using Eclipse then go to Windows -> Preferences

Select Android -> Build

There you will see Default debug keystore: "Path"

See if you can locate it there.

like image 21
EnthuDeveloper Avatar answered Oct 22 '22 19:10

EnthuDeveloper


You can create keystore using this command..

keytool -genkey -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "CN=Android Debug,O=Android,C=US"

like image 15
Aravin Avatar answered Oct 22 '22 19:10

Aravin