Baidu Map Security Code composition:
The SHA1 value of the Android signing certificate + ";" +packagename (i.e.: digital signature + semicolon + package name), for example:
Bb:0d:ac:74:d3:21:e1:43:67:71:9b:62:91:af:a1:66:6e:44:5d:75;com.baidumap.demo
If the app is the debug version (run directly): can be viewed directly in Eclipse: Android ---build with Windows---preferance
As shown:
Where the "SHA1 fingerprint" value is the SHA1 value of the Android signing certificate
If the app is the release version:
1. Sign the app first, and the signature will generate XXXX. KeyStore file (app signature method: http://blog.csdn.net/zhlf91718/article/details/17000973)
2. Copy the generated Xxxx.keystore file to the C:\Users\xiang\.android directory
1th step: Run into the console
2nd step: Navigate to the. Android folder, enter CD. Android
3rd Step: Enter Keytool-list-v-keystore debug.keystore (Debug version of the app)/"Xxxx.keystore (release version of the app)", will get three kinds of fingerprint certificate, Select the SHA1 type of certificate (the key password is Android), for example:
Where Keytool is the JDK's own tool; Keystorefile for Android signing certificate file
KeyStore Password: Generates XXXX for signing the app . the password entered during the KeyStore
Baidu Map SHA1 Value acquisition method of Android Signature certificate