1. Use Keytool request to get MD5 value
1.1 Found your Debug.keystore
Windows VISTA/7: C:\users\<username>\.android\debug.keystore
Windows Xp:c:\documents and Settings\<user>\.android\debug.keystore
OS X and Linux:~/.android/debug.keystore
1.2 using CMD to switch to the directory where Debug.keystore is located
My system is windows 7
Folder: C:\Users\Work\.android
1.3 Applying for MD5 value using Keytool
JDK1.6 and version less than JDK1.6 use: Keytool-list-alias androiddebugkey-keystore Debug.keystore
JDK1.7, the default generation algorithm is SHA1, the problem is to increase "-V",-V will keytool output MD5, SHA1, sha256 three kinds of dense lines
Keytool-v-list-alias Androiddebugkey-keystore Debug.keystore
The password defaults to: Android
2. Get API Key via MD5 value (need to sign in with Google account)
Open Link: Https://developers.google.com/android/maps-api-signup?hl=zh-CN
Enter the MD5 value to get the API key
Solve the method of not opening this website
Locate the local Hosts file, under the C:\Windows\System32\drivers\etc directory,
Open the Hosts file and add 203.208.46.180 google-developers.appspot.com to the bottom.
Close the browser and open it to open the site
How to get Google Api Key