Go from original Android studio to get the most detailed method for developing the SHA1 value and release SHA1 value of the version
Objective:
Today I want to integrate the positioning of Baidu map into the project, want to write a small case, to achieve, but in the integration of Baidu map first to apply for the secret key, the application of the secret key to use the SHA1 value, so today to summarize how to get this value it, I hope that everyone has help.
Under normal circumstances:
First, get the development version of SHA1:
In this I directly use the command console provided by Android Studio, after all do Android development is almost all with Android studio.
1. Open Android Studio to find terminal and open it, or find terminal at the bottom like:
2, enter the command c: Enter the C disk;
3, then enter the command CD Users\administrator which Administrator is their own user name Administrator file has a. adnroid file, enter the command CD. Android, finally found. Android Oid
4. Enter command keytool-list-v-keystore Debug.keystore where Debug.keystore is studio default KeyStore, press Enter and enter secret key: Android (System default) carriage return (keystore password is not visible) such as:
This will successfully get to the development version of the SHA1 value, is not very simple ah, that is of course!
Second, get the release version of the SHA1:
Get the release version of the SHA1, and get the development version of the SHA1 1, 2, 3 steps, the difference is the 4th step slightly different.
1, ibid.
2, ibid.
3, ibid.
4, enter the command keytool-list-v-keystore file directory \ own signature file such as my: Keytool-list-v-keystore e:\ signed file \android.keystore, then press ENTER, and then enter the secret key: (I Only Know me, haha) enter (keystore password is not visible) such as:
This will successfully get to the release version of the SHA1 value, is not very simple ah, that is of course!
Android Studio get developer SHA1 values and release SHA1 values, detailed procedures