After building my project on Android Studio 1.2 on Ubuntu 14.04 I can't get any debug.keystore on the ./android folder which I need for the google maps API. I tried it again and again but could not get it. Can somebody help me?
According to documentation.. debug keystore resides in path : $HOME/.android/debug.keystore and if it is not there, it will generate it automatically (After you test your application in debug mode)
read this from android developer documentation.
Alternatively, you can generate a keystore without Eclipse with the following JDK command from wither a Windows command prompt or Cygwin with this command:
keytool -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999
Keytool is a part of the JDK and needs to be in the system PATH to be used in this way. The path should be something like: C:\\bin
Once generated, be sure to copy the keystore file into the proper location. If you ran the command from your Cygwin home directory (the directory cygwin starts in), you will find the debug.keystore file here: C:\\home\\
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With