Android Which debug.keystore file is IntelliJ signing my application?

I am trying to debug why I cannot get MapView to work in debug mode, and it looks like the application is not signed with the debug.keystore file with which I created the API key. The only version of the file called debug.keystore on my system is located in the C:\Users\<user>\.android debug.keystore folder, as expected, but after completely deleting this file and then restoring the unsigned application, it still works in debug mode and doesnโ€™t regenerates this file as if it were signing with a different certificate. Any idea what is going on here?

Thanks!

+8
android intellij-idea keystore android-mapview signing
source share
2 answers

So it turned out that there is another debug.keystore in the android-sdk\\.android debug.keystore . I donโ€™t know why I didnโ€™t see this when I was looking for a disk before, but now it is the only one on the machine and, of course, it is restored during rebuilding. I don't know why it does not look in C:\Users as documented, but creating an api map against this keystore fixes my MapView problem.

+3
source share

Please double check that you deleted the debug.keystore file from the correct user account:

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

On my system, it will be generated as soon as I remove it and rebuild the project in IntelliJ IDEA.

+8
source share

All Articles