Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.8K
Views
Keystore file does not exist

I'm trying to use the Google Maps API in one of my projects and in the directions to set up the API credentials it wants me to add my application's SHA-1 signing-certificate fingerprint to the API.

In the instructions, it says to use the following command to get the fingerprint:

keytool -list -v -keystore mystore.keystore

When I try to use it, both in the Android Studio terminal as well as cmd prompt in my application's directory I get the following error:

keytool error: java.lang.Exception: Keystore file does not exist: C:\Users\Name\.keystore

Note, my application is in D:\Projects\Android\AppName.

How do I get my SHA-1 signing-certificate to use with the Google Maps API?

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

The easiest way of find the SHA-1 of your Android application is as follows: (NOTE: can only be done in Android Studio)

1) Open your project

2) Click on the 'Gradle' tab in the right hand corner of the android studio window

3) If no content is being shown click on the "Refresh all Gradle projects" icon in the left corner of the Gradle window (the blue icon)

4) From the contents select the one that has your project name

5) Go to 'Tasks' -> 'android' -> 'signingReport'

6) It will open a console, click the 'Toggle tasks executions/text mode' icon in the left top corner of it

Now you will be able to see your SHA-1 information along with a bunch of other information about your project in the console

This link contains an image that highlights the above stated steps

After checking this make sure to change your configuration module to your current project. To do this follow the below steps:

1)Click on the'select Run/Debug configuration' drop-down

2) Select app

3)Click on the'select Run/Debug configuration' drop-down again and select edit configurations

4)Select the 'General' tab and change the 'Module' to 'app', also tick the 'activate tool window' checkbox

5) press 'ok'

now you can run your project like before by pressing on the run button.

This link contains an image that highlights the above stated steps

hope this helped.

about 4 years ago · Santiago Trujillo Report

0

The debug keystore file isn't in your application's directory, it's in your .android directory. If you're using Windows, it's probably in C:\Users\yourname\.android (where instead of "yourname" use your own User directory).

Once you know where it is, you can run the keytool like this:

    keytool -list -v -keystore "C:\Users\yourname\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
about 4 years ago · Santiago Trujillo Report

0

To find SHA-1 of your application, you can find like: To click on right side of your android studio click on gradle and then click on task-> android-> signingreport you will find your application sha-1 on below console. enter image description here

and to generate signing keystroke file you have to generate signing buid apk, to genrate signing build apk click on Build->generate signing apk->creaenew then follow the provedure you will find your keystroke file on your desire location.thanks

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!