What is production storage in android and how can I get the production path?

I am trying to add the Google authentication feature to my Android application and for this I need to get the Android Signing SHA-1 certificate. The official tutorial says to use the following command to get the SHA-1 hash value.

In release mode

keytool -exportcert -list -v \-alias <your-key-name> -keystore <path-to-production-keystore> 

debug mode

 keytool -exportcert -list -v \-alias androiddebugkey -keystore ~/.android/debug.keystore 

Now I'm confused about what kind of production repository and debug.keystore are and how to get the path to production-keystore? Explanations are welcome.

+6
source share
1 answer

Please use the command below for linux if you do not have a keystore file:

  keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android 

Production storage will be generated when a signed APK file is created.

Refer to the link below:

http://developer.android.com/tools/publishing/app-signing.html

+4
source

All Articles