Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - What debug.keystore file is IntelliJ signing my app with?

I'm trying to debug why I can't get MapView to work in debug mode, and it seems like the app is not being signed with the debug.keystore file that I have created an API key against. The only version of a file named debug.keystore on my system is in the C:\Users\<user>\.android folder as expected, however after removing this file completely and then rebuilding the unsigned app, it still runs in debug mode and does not regenerate this file as though it is signing with a different cert. Any idea what is going on here?

Thanks!

like image 568
user888867 Avatar asked Dec 09 '11 18:12

user888867


People also ask

Where is the Android debug keystore?

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

What is keystore file in Android?

The Android Keystore system lets you store cryptographic keys in a container to make them more difficult to extract from the device. Once keys are in the keystore, you can use them for cryptographic operations, with the key material remaining non-exportable.

What is debug keystore file?

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.

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. okay i try delete keystore and clean my project.


1 Answers

Please double check that you've removed the debug.keystore file from the correct user account:

c:\Users\%USERNAME%\.android\debug.keystore

On my system it's re-generated as soon as I delete it and rebuild the project in IntelliJ IDEA.

like image 147
CrazyCoder Avatar answered Sep 29 '22 10:09

CrazyCoder