Does Android debug.keystore SHA1 is same for all?
Asked Answered
S

2

8

debug.keystore is generated automatically when we install our android sdk. So does our debug.keystore will have same SHA1 in all machines?

Sikko answered 2/2, 2017 at 5:58 Comment(3)
yes @Sikko it is same for that systemRetinitis
You can use the same debug keystore for all apps. But obviously the release would be differentRhapsodic
developer.android.com/studio/publish/app-signing.htmlMuzz
B
6

You won't have a same debug key for each machine. And you won't have a same debug key for a machine because there is an expiry for the debug key:

The self-signed certificate used to sign your APK for debugging has an expiration date of 365 days from its creation date. When the certificate expires, you will get a build error.

To fix this problem, simply delete the debug.keystore file. The file is stored in the following locations:

  • ~/.android/ on OS X and Linux
  • C:\Documents and Settings\.android\ on Windows XP
  • C:\Users\.android\ on Windows Vista and Windows 7, 8, and 10

The next time you build and run the debug build type, the build tools will regenerate a new keystore and debug key. Note that you must run your app, building alone does not regenerate the keystore and debug key.

There's possibility that you'll get the same debug key before the expiration date, but don't depends on it.

Bianka answered 2/2, 2017 at 6:25 Comment(0)
A
0

It is not same for all. It will same for particular system.

Alasdair answered 2/2, 2017 at 6:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.