首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >找不到从方法glt.a引用的类'com.google.android.gms.location.internal.ParcelableGeofence',

找不到从方法glt.a引用的类'com.google.android.gms.location.internal.ParcelableGeofence',
EN

Stack Overflow用户
提问于 2014-07-03 17:23:55
回答 3查看 11.5K关注 0票数 15

一切工作正常,然后eclipse突然开始中断请求透视图切换并进入调试模式,并显示错误“Link of class "Lcom/google/android/gms/location/internal/ParcelableGeoFence;”failed。谷歌搜索问题无处可寻。调试器指向PathClassLoader(BaseDexClassLoader).findClass(String)行: 61

奇怪的是,当我从我的代码中删除map.setMyLocationEnabled(True)时,它不再崩溃,但我仍然可以在logcat中看到这一点

代码语言:javascript
复制
E/dalvikvm(5639): Could not find class 'gpr', referenced from method gps.a
W/dalvikvm(5639): VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;

这是完整的日志:

代码语言:javascript
复制
07-03 13:07:31.677: W/dalvikvm(5639): VFY: unable to resolve static method 24936: Lguj;.a 

(Landroid/content/Context;)Lgri;
07-03 13:07:31.697: E/dalvikvm(5639): Could not find class 'gpr', referenced from method gps.a
07-03 13:07:31.697: W/dalvikvm(5639): VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-03 13:07:31.697: E/dalvikvm(5639): Could not find class 'gpr', referenced from method gps.a
07-03 13:07:31.697: W/dalvikvm(5639): VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-03 13:07:31.697: E/dalvikvm(5639): Could not find class 'gpr', referenced from method gps.a
07-03 13:07:31.697: W/dalvikvm(5639): VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-03 13:07:31.707: I/Google Maps Android API(5639): Google Play services package version: 5084034
07-03 13:07:31.737: W/dalvikvm(5639): VFY: unable to resolve static field 20873 (t) in Lyp;
07-03 13:07:31.737: W/dalvikvm(5639): VFY: unable to resolve static field 20873 (t) in Lyp;
07-03 13:07:32.778: W/dalvikvm(5639): Link of class 'Lcom/google/android/gms/location/internal/ParcelableGeofence;' failed
07-03 13:07:32.778: E/dalvikvm(5639): Could not find class 'com.google.android.gms.location.internal.ParcelableGeofence', referenced from method glt.a
07-03 13:07:32.778: W/dalvikvm(5639): VFY: unable to resolve check-cast 2086 (Lcom/google/android/gms/location/internal/ParcelableGeofence;) in Lglt;
07-03 13:07:34.089: I/Adreno200-EGLSUB(5639): <ConfigWindowMatch:2078>: Format RGBA_8888.
07-03 13:07:34.319: D/LOCATION(5639): Connected
07-03 13:07:34.319: I/Adreno200-EGLSUB(5639): <ConfigWindowMatch:2089>: Format RGBX_8888.
EN

回答 3

Stack Overflow用户

发布于 2014-07-04 15:00:50

发生此问题可能是因为地图未加载,而应用程序正在尝试在卸载的地图中定位您。未使用您的api密钥或包名称加载映射。我想你的api密钥被更改了。请检查您的api密钥和包名。

票数 1
EN

Stack Overflow用户

发布于 2014-09-18 15:16:47

对于新访问者,如果您的代码和api密钥没有问题,请检查您的设备是否有互联网连接。因为我忘了在互联网上的开关,所以我得到了同样的错误。

票数 -1
EN

Stack Overflow用户

发布于 2014-08-21 20:46:17

对我来说,设置Eclipse的首选项,->,Android,->,Build,->,定制密钥库解决了这个问题。还要卸载应用程序并进行干净的构建。

票数 -2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24549846

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档