Android Google Map 功能小试
C:/Documents and Settings/JJ>keytool.exe -list -alias androiddebugkey -keystore "C:/Documents and Settings/JJ/.android/debug.keystore" -storepass android -keypass android
24:93:47:E2:28:0C:BA:FE:8C:1C:10:53:80:F6:D6:E2
0bQFb8bbzWHUk5H764UxsXAKOfmrX6H-wxR98jA
1.通过keytool获取MD5指纹
C:/Documents and Settings/JJ>keytool.exe -list -alias androiddebugkey -keystore "C:/Documents and Settings/JJ/.android/debug.keystore" -storepass android -keypass android
得到 24:93:47:E2:28:0C:BA:FE:8C:1C:10:53:80:F6:D6:E2
进入 http://code.google.com/intl/zh-CN/android/maps-api-signup.html
申请
得到 0bQFb8bbzWHUk5H764UxsXAKOfmrX6H-wxR98jA
2.Layout的xml文件必须是小写的
3。
Android 提示 “Unparsed aapt error(s)! Check the console for output”. 这个错误
但是你的控制台上找不到错误或者 看不懂错误的时候的一招。
点 Project--------->clean..就会没问题
4.
如果报错“Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY”
项目属性(Alt+Enter) --> 左树--> Android -->勾选Google APIs
并且创建一个GoogleAPI的AVD
5.
Activity应该是public class MapViewDemo extends MapActivity {
遇到的问题及解决办法:
一、启动两个模拟器互发短信, 其中一个能收但不能发
/t不知道问题的原因
/t解决办法是:在AVD Manager中重新创建两个新AVD,并激活