1) First you need to make sure you install the JDK location, windows->preferences->java->installed JREs, you can see that the JRE is located, and then in DOS CMD mode to see if the path to your current system is already included. If no inclusion is added to the current environment parameter. Because we need to use the Keytool command in this directory AH. 2) Next you will find the location of the debug.keystore of your non-former AVD, windows->perferences->android->build,default debug keystore text box, listing c \ Documents and Settings\xxxxuser\.android\debug.keystore, this is the default Debug.keystore, you can first change the file name. We need to create a new debug.keystore3) immediately after we create a new debug.keystore, under CMD, go to the C:\Users\Administrator\.android directory to execute the command as follows: Keytool- Genkey-v-keystore debug.keystore-alias androiddebugkey-keyalg rsa-validity 10000 Enter the password, users and other information can be generated after the confirmation of a debug.keystore
4) OK, next we need to get MD5, go to Google to apply for a apikey, very simple in the current directory execution: Keytool-list-alias androiddebugkey-keystore Debug.keystore follow the prompts to enter the password you set in the third step, OK, you will get the following information, Certificate fingerprint (MD5): fc:ed:de:bs:16:1a:e8:05:f0:44:ad:4e : 45:42:4b:d4 This is what we need when we apply for Apikey fc:ed:de:bs:16:1a:e8:05:f0:44:ad:4e:45:42:4b:d4
Access http://code.google.com/android/maps-api-signup.html in my certificate ' s MD5 via browser Fingerprint text box Enter the MD5 code you just acquired click Generate API Key, of course, if you have a Google account. google map Apigoogle Code home > Google Maps API > Google Maps API registration Thank you for registering your Android Map API Key! Your key is: 0VWB_8R4E2TIB8RP7D5HS8RQ3E_UM_3XRYRJO3A This key applies to all applications that use the following thumbprint to verify the certificate: 25:93:08:c1:02:7d:e3:8d:5e:22:23:13: B5:DD:F4:E2 Below is an example of an XML format that helps you understand the map functionality: <com.google.android.maps.MapView android:layout_width= "Fill_parent" android:layout_height= "Fill_parent" android: apikey= "0VWB_8R4E2TIB8RP7D5HS8RQ3E_UM_3XRYRJO3A" /> For more information, see the API documentation.
How the Android SDK rebuilds Debug.keystore