谷歌地图强制关闭 [英] Google Maps Force closing

查看:241
本文介绍了谷歌地图强制关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在试图地图添加到我的申请,我都遵循Android开发者HelloGoogleMaps教程说明,但我的地图只是强制关闭,当我运行地图选项。我已经得到我的API密钥登录清单的权限(互联网,地图)以及记录意图。当我看到调试器的原意总是显示出来,但我已经把测试code和意图是好的,但它似乎是说,它不能找到类;

I have been trying to add a map to my application, I have followed instructions on the android developers HelloGoogleMaps tutorial but my map is just force closing when I run the maps option. I have obtained my api key logged permissions in manifest (Internet, Maps) and logged intent. When I look at the debugger the intent line always shows up but I have put in test code and the intent is fine but it seems to be saying it cannot locate the class;

七月九日至28日:09:13.960:DEBUG / dalvikvm(308):VFY:在0x0013

09-28 07:09:13.960: DEBUG/dalvikvm(308): VFY: replacing opcode 0x1c at 0x0013

七月九日至28日:09:14.000:DEBUG / dalvikvm(308):VFY:在LCOM / FF /组织/ [112死code 0x0015-001b; .onListItemClick(Landroid /空间/的ListView; Landroid /视图/视图; IJ)V

09-28 07:09:14.000: DEBUG/dalvikvm(308): VFY: dead code 0x0015-001b in Lcom/ff/org/ll2;.onListItemClick (Landroid/widget/ListView;Landroid/view/View;IJ)V

七月九日至28日:09:29.240:信息/ ActivityManager(59):启动活动:意向{CMP = com.ff.org / .Bradford}

09-28 07:09:29.240: INFO/ActivityManager(59): Starting activity: Intent { cmp=com.ff.org/.Bradford }

七月九日至28日:09:29.350:WARN / dalvikvm(308):无法解析LCOM / FF /组织/超类定位; (67)

09-28 07:09:29.350: WARN/dalvikvm(308): Unable to resolve superclass of Lcom/ff/org/Locate; (67)

七月九日至28日:09:29.350:WARN / dalvikvm(308):类链接LCOM / FF /组织/定位;'失败

09-28 07:09:29.350: WARN/dalvikvm(308): Link of class 'Lcom/ff/org/Locate;' failed

七月九日至28日:09:29.350:ERROR / dalvikvm(308):找不到类的com.ff.org.Locate,从法com.ff.org.Bradford.onListItemClick引用

09-28 07:09:29.350: ERROR/dalvikvm(308): Could not find class 'com.ff.org.Locate', referenced from method com.ff.org.Bradford.onListItemClick

七月九日至28日:09:29.350:WARN / dalvikvm(308):VFY:无法解析常量级37(LCOM / FF /组织/定位;)在LCOM / FF /组织/布拉德福德;

09-28 07:09:29.350: WARN/dalvikvm(308): VFY: unable to resolve const-class 37 (Lcom/ff/org/Locate;) in Lcom/ff/org/Bradford;

七月九日至28日:09:29.360:DEBUG / dalvikvm(308):VFY:在×0012

09-28 07:09:29.360: DEBUG/dalvikvm(308): VFY: replacing opcode 0x1c at 0x0012

七月九日至28日:09:29.360:DEBUG / dalvikvm(308):VFY:在LCOM / FF /组织/布拉德福德死code 0x0014-001a; .onListItemClick(Landroid /空间/的ListView; Landroid /视图/视图; IJ)V

09-28 07:09:29.360: DEBUG/dalvikvm(308): VFY: dead code 0x0014-001a in Lcom/ff/org/Bradford;.onListItemClick (Landroid/widget/ListView;Landroid/view/View;IJ)V

七月九日至28日:09:29.990:信息/ ActivityManager(59):显示活动com.ff.org/.Bradford:674毫秒(总674毫秒)

09-28 07:09:29.990: INFO/ActivityManager(59): Displayed activity com.ff.org/.Bradford: 674 ms (total 674 ms)

该applicatiuon code是这里:

The applicatiuon code is here:

推荐答案

我已经解决了这个问题,很noobish的事情都做,但我把清单的应用领域互联网的权限和地图的权限。

I've solved the problem, very noobish thing to have done but I put the internet permission and maps permission in the application area of the manifest.

如果你得到这个错误请确保您将互联网和地图的权限清单中的活动部分与类许可。

If you get this error make sure you place the internet and map permissions in the Activity part of the manifest with the class permission.

这篇关于谷歌地图强制关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆