Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.8K
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda