Obtain the SHA1 of the debug version and the SHA1 of the release version of AutoNavi Map respectively, apply to KEY

Obtaining the debug version of SHA1:

1. First of all, the installation path of your jdk should be configured in the environment variable.
2. Find C:\Users\admin\ .Android , find debug.keystore in the .android folder, this is your keystore file
3. Enter C:\Users\admin\ .Android directory in the terminal of studio , enter keytool -list -v -keystore debug.keystore
keystore password can be skipped by pressing ENTER (default is android), you can get the SHA1 of the debug version.


Obtaining the SHA1 of the release version:

When the app is in release mode, it should have its own signature file, which is the keystore file with alias, password and other parameters created when the apk was generated. After opening cmd, enter keytool -list -v -keystore xxxx.jks ( the key password is yours The password of the keystore file, and then press ENTER to get the SHA1 of the release version. xxxx.jks is the full path of your .jks file )


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325806296&siteId=291194637