找不到方法glt.a引用的类' com.google.android.gms.location.internal.ParcelableGeofence' [英] Could not find class 'com.google.android.gms.location.internal.ParcelableGeofence', referenced from method glt.a

查看:113
本文介绍了找不到方法glt.a引用的类' com.google.android.gms.location.internal.ParcelableGeofence'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一切正常,然后突然蚀开始中断,要求透视图切换并进入调试模式,错误为类Lcom/google/android/gms/location/internal/ParcelableGeoFence的链接".失败的. 谷歌搜索问题无济于事. 调试器指向PathClassLoader(BaseDexClassLoader).findClass(String)行:61
奇怪的是,当我删除map.setMyLocationEnabled(true);.从我的代码中,它不再崩溃,但仍然可以在logcat中看到它

Everything was working ok, then suddenly eclipse started breaking asking for a perspective switch and going to debug mode with the error 'Link of class "Lcom/google/android/gms/location/internal/ParcelableGeoFence;" failed. Googling the problem lead nowhere. Debugger points to PathClassLoader(BaseDexClassLoader).findClass(String) line: 61
Strangely when I remove map.setMyLocationEnabled(true); from my code it no longer crashes but still I can see this in logcat

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;

这是完整的日志:

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.

推荐答案

此问题可能是由于未加载地图而导致的,并且该应用正在尝试在未加载的地图中找到您.该地图未加载您的api键或程序包名称.我认为您的api密钥已更改.请检查您的api密钥和程序包名称.

The Issue is probably happening because the Map is not loaded and the app is trying to locate you in an unloaded Map. The Map is not loading with your api key or package name. I think your api key has got changed . Please check your api key and package name.

这篇关于找不到方法glt.a引用的类&amp;#39; com.google.android.gms.location.internal.ParcelableGeofence&amp;#39;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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