1) 运行Eclipse,打开Preferences对话框,在Android -> build中可以看到Keystore的存放路径:例如:C:\Users\XXX\.android\debug.keystore
2) 运行 cmd , 敲入 keytool -list -v -alias androiddebugkey -keystore "C:\Users\XXX\.android\debug.keystore" -storepass android -keypass android
p.s. 尤其记得加上-v 要不然下面会报错 “The fingerprint you entered is not valid. Please press the Back button on yo”
http://stackoverflow.com/questions/5102219/to-display-the-google-map-on-the-emmulator
回车从众多信息中选出:MD5 finger print
3) 打开 http://code.google.com/intl/zh-CN/android/maps-api-signup.html , 输入 MD5 码, 点击 Generate API Key
4) 在页面中即可获得 Google Map API Key
(没有遇到)
如果 debug.keystore 过期,需要进行以下操作:
删除.android 目录中的 debug.keystore 文件,用eclipse run android application 会生成新的keystore