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.
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.
Eclipse no debug keystore
debugkeystore for window user it will be in users/.android dir
Related Topics
Center Align Title in Action Bar Using Styles in Android
Android: Get Facebook Friends List
How to Use an Android Handler to Update a Textview in the UI Thread
Bufferoverflowexception When Building Application
Android - Detecting Application Launch from Home or History
Bitmap Too Large to Be Uploaded into a Texture
Android: Detect Softkeyboard Open
Wrong Fragment in Viewpager Receives Oncontextitemselected Call
Android Wear App Not Installing Through Handset
Writing Text File to Sd Card Fails
Firebase Sort by Points Depending on Date
How to Use Broadcast Receiver in Different Applications in Android
Android.Intent.Action.Screen_On Doesn't Work as a Receiver Intent Filter
See Android Recent Task Executed by the User