Android: map api apply

Android map api的申請分為debug/release:


Debug:
由於Debug版本的keystore預設會在專案設定的位置
在命令列輸入: keytool -list -alias androiddebugkey -keystore "your_path"
-storepass android -keypass android







 將得到的MD5填入google map api註冊網頁
https://developers.google.com/maps/documentation/android/v1/maps-api-signup?hl=zh-tw

最後便得到Map api金鑰

Reference:
http://wangshifuola.blogspot.tw/2010/12/androidgoogle-map-api-key.html

Release:
在命令列輸入:keytool -genkey -v -keystore yourkeyname.keystore -alias yourkeyname -keyalg RSA -validity 10000














取得MD5的憑證,輸入keytool -list -v -keystore “YourPath"
將得到的MD5填入google map api註冊網頁
https://developers.google.com/maps/documentation/android/v1/maps-api-signup?hl=zh-tw
 

 最後便得到Map api金鑰
Reference:
http://wangshifuola.blogspot.tw/2011/06/androidgoogle-map-api-key.html

Comments

Popular posts from this blog

董事長您好

After reading Steve Jobs Autobiography

Drawing textured cube with Vulkan on Android