Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

1.8K
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda