1. First locate the debug keystore location:
Open Eclipse ---> Windows ---> Preferences ---> Android ---> Build
This is generally the path C: \ Documents ents and Settings \ Administrator \. android \ debug. keystore
2. Run
Keytool-list-alias androiddebugkey-keystore "C: \ Documents and Settings \ Administrator \. android \ debug. keystore"-storepass android-keypass android
D: \ install \ Java \ jdk1.6.0 _ 24 \ bin> keytool-list-alias androiddebugkey-keystore"
C: \ Documents and Settings \ Administrator \. android \ debug. keystore "-storepass android
Oid-keypass android
Androiddebugkey, 2011-3-14, PrivateKeyEntry,
Authentication fingerprint (MD5): 33: 27: 0C: 5F: 63: 4D: E2: D2: 8A: E6: E2: 5B: F8: 86: 6E: C5
3. Open http://code.google.com/intl/zh-CN/android/maps-api-signup.html
Copy the authentication fingerprint (MD5): To My certificate's MD5 fingerprint below
4. Click Generate Api key.
?
Thank you for registering the Android map API key!
Your key is:
0vDJgxtrB71gl2bwGRP2mPrW5jfSxeTno0xDyVw
This key applies to all applications that use the certificate corresponding to the following fingerprint for verification:
33:27:0C:5F:63:4D:E2:D2:8A:E6:E2:5B:F8:86:6E:C5
The following is an xml format example to help you understand the map function:
<com.google.android.maps.MapView
android:layout_width=
"fill_parent"
android:layout_height=
"fill_parent"
android:apiKey=
"0vDJgxtrB71gl2bwGRP2mPrW5jfSxeTno0xDyVw"
/>