There Is No Debug.Keystore in .Android Folder

There is no debug.keystore in .android folder

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"

.android folder and debug.keystore file missing

Navigate to the .android folder in your home directory ~/.android (Linux,Mac OS) or C:\Documents and Settings\[User Name]\.android in Windows XP or C:\Users\.android in Windows Vista or Windows 7, and delete the debug.keystore file. Then go to eclipse and clean the project, this will create a new debug.keystore file with default validity period 365 days.

For Linux user: Delete your debug certificate (debug.keystore and ddms.cfg) under ~/.android/debug.keystore

For Windows user: Delete your debug certificate (debug.keystore and ddms.cfg) under
C:\Documents and Settings\Administrator\.android

Where is debug.keystore in Android Studio

EDIT
Step 1) Go to File > Project Structure > select project > go to "signing" and select your default or any keystore you want and fill all the details. In case you are not able to fill the details, hit the green '+' button. I've highlighted in the screenshot.Sample Image

Step 2) VERY IMPORTANT: Goto Build Types> select your build type and select your "Signing Config". In my case, I've to select "config". Check the highlighted region.
Sample Image

Eclipse no debug keystore

you can find debug.keystore path from dev tool

debugkeystore for window user it will be in users/.android dir



Related Topics



Leave a reply



Submit