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应用程序中使用的相同代码。请帮我。
日志消息Failed to find an AVD compatible with target 'Google APIs'说明了一切。
您需要创建一个包含Google API(因此包括Google Maps库)的仿真器。
有一个GUI,可让您管理和创建新的模拟器映像。只需android从您的SDK工具文件夹运行即可。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。