The first thing to do is to obtain an MD5 key(of course, It is implemented through the keytooltool (keytool.exe) of JDK)
1. Here, there are two main work aspects: keytool and debug. keystore.
2. First, find debug. keystore! (Go to the Eclipse development environment and select Window --> Preferences --> Android --> Build. At this time, we can see the Default debug keystore in the interface. The content in the box below it is debug. keystore path ). Here, we can find the location of debug. keystore based on this path. Just copy it!
3. Found debug. keystore. Now we need to use the JDK keytool to generate the MD5 key. In this case, the location of keytool.exe is under the bin folder of your installed jdk. This is determined based on your storage location and can be easily found. We step through the console cmd to enter the so-called bin path, and now copy the previously copied debug. paste the keystore here and run keytool-list-keystore debug. the keystore will prompt you to Enter the password, because you have not set the password before, so you can directly press Enter to skip. We can easily find that the MD5 key value has been generated. (Note: My keytool.exe tool is under D: Program FilesJavajdk1.6.0 _ 23bin, so the step for me to access and obtain the MD5 key is:
1. (First, paste the debug. keystore document to D: Program FilesJavajdk1.6.0 _ 23bin) and then open the run input box in WIN + R.
2. Enter cmd to enter the Console
3. d:
4. cd D: Program FilesJavajdk1.6.0 _ 23bin
5. dir (now you enter the bin directory)
6. keytool-list-keystore debug. keystore
7. Enter the password and click Enter to automatically generate the MD5 key.
)
4. Then, how can I really get the Google Map API key? Go to http://code.google.com/android/maps-api-signup.html. If the MD5 key is not displayed at the bottom of the page, it cannot be displayed. If this error occurs, it is very easy to solve it. You only need to open C in Notepad mode: WINDOWSsystem32driversetc hosts document, add 203.208.45.200 google-developers.appspot.com at the bottom of the document content save, close, and then you refresh your previous Wireless Display of the web page, you will find that the column that requires you to enter the MD5 key has been enabled. Now, you only need to enter the MD5 key you obtained and click the button below. Now, we can get our own Google Map API key, Good Luck!