6

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?

2 Answers 2

7

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\\

Sign up to request clarification or add additional context in comments.

Comments

0

A more practical answer can be found at Missing debug.keystore

Even though the answer on the following link was answered from a windows perspective I still believe it will help you solve your problem.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.