Logcat输出:
[2010-01-09 15:47:19 - HelloMapView]------------------------------
[2010-01-09 15:47:19 - HelloMapView]Android Launch!
[2010-01-09 15:47:19 - HelloMapView]adb is running normally.
[2010-01-09 15:47:19 - HelloMapView]Performing org.example.hellomapview.HelloMapView activity launch
[2010-01-09 15:47:19 - HelloMapView]Failed to find an AVD compatible with target 'Google APIs'.
[2010-01-09 15:47:21 - HelloMapView]Performing org.example.hellomapview.HelloMapView activity launch
[2010-01-09 15:47:22 - HelloMapView]Application already deployed. No need to reinstall.
[2010-01-09 15:47:22 - HelloMapView]Starting activity org.example.hellomapview.HelloMapView on device
[2010-01-09 15:47:23 - HelloMapView]ActivityManager: Can't dispatch DDM chunk 46454154: no handler defined
[2010-01-09 15:47:23 - HelloMapView]ActivityManager: Can't dispatch DDM chunk 4d505251: no handler defined
[2010-01-09 15:47:23 - HelloMapView]ActivityManager: Starting: Intent { comp={org.example.hellomapview/org.example.hellomapview.HelloMapView} }
当我运行我的应用程序时,它显示上述错误。我无法运行myMap应用程序我使用了他们在myMap应用程序中给出的相同代码。请帮帮我。
答案 0 :(得分:4)
日志消息Failed to find an AVD compatible with target 'Google APIs'
说明了一切。
您需要create an emulator包含Google API(以及Google地图库)。
有一个GUI,可以让您管理和创建新的模拟器图像;只需从SDK工具文件夹中运行android
。