Keystore file does not exist

We Are Going To Discuss About Keystore file does not exist. So lets Start this Java Article.

Keystore file does not exist

  1. Keystore file does not exist

    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).

  2. Keystore file does not exist

    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).

Solution 1

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
Advertisements

Original Author Rapunzel Van Winkle Of This Content

Solution 2

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.

Advertisements

Original Author Suleka_28 Of This Content

Solution 3

Important:
Keep in mind debug.keystore won’t be generated if you haven’t run any app in you android studio.
Ie: debug.keystore is generated after the first run of the app on Android Studio.

But you can also generate Release/Debug Keystores for signing Android apps at the command line.

  1. A debug keystore which is used to sign an Android app during development needs a specific alias and password combination as dictated by Google. To create a debug keystore, use:
    $ keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000

  • Keystore name: “debug.keystore”
  • Keystore password: “android”
  • Key alias: “androiddebugkey”
  • Key password: “android”
  • CN: “CN=Android Debug,O=Android,C=US”

Then inorder to access the Key Fingerprints:

  1. Open C drive and follow this path C:\Program Files\Java\jdk1.8.0_201\bin
  2. Then with bin folder open cmd
  3. Now execute
$ keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore -list -v 

For further clarification refer :

https://developer.android.com/studio/publish/app-signing#debugmode
https://coderwall.com/p/r09hoq/android-generate-release-debug-keystores

Advertisements

Original Author Shriram Navaratnalingam Of This Content

Solution 4

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

Advertisements

Original Author singh.indolia Of This Content

Conclusion

Advertisements

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment