申請一個(gè)Android Maps API Key
1.找到你的debug.keystore文件所在的路徑:
證書的一般路徑為:打開eclipse,選擇Windows———>Preference———>Android———>Build,其中Default debug keystore的值便是debug.keystore的路徑(windows的一般在 C:\Documents and Settings\當(dāng)前用戶\.android下找到debug.keystore)
2.在命令提示符中執(zhí)行: keytool -list -keystore debug.keystore (keytool是java一個(gè)命令,在%java_home%\bin里可以看到)
需要輸入密碼:android
然后就會(huì)得到MD5的值,進(jìn)入
http://code.google.com/intl/zh-CN/android/add-ons/google-apis/maps-api-signup.html ,根據(jù)MD5值獲取MAPS API KEY(前提是你必須有一個(gè)google賬戶)