官方文件網址
如何取得API Key
http://developer.android.com/guide/topics/location/geo/mapkey.html
XP:C:/Documents and Settings/<User>/Local Settings/Application Data/Android/debug.keystore
Vista:C:/Users/<User>/AppData/Local/Android/debug.keystore
OS/Linux: ~/.android/debug.keystore
keytool -list -alias androiddebugkey -keystore “文件路徑” -storepass android -keypass android。
其中“文件路徑”輸入剛纔的debug.keystore文件路徑
使用時,在代碼中加入
android:apiKey=“申請到的Key值”
例: