我有一個應用程序,其中主頁是地圖。找不到類com.google.android.gms.location.internal.ParcelableGeofence引用方法glt.a
不知道爲什麼我收到此錯誤,這個錯誤Could not find class 'gpr', referenced from method gps.a
我已經更新日食一起,所以我試圖改變與新SHA1指紋API密鑰。但那不行。
我的應用程序是當您打開應用程序時顯示當前位置。它只是登陸到整個地圖,但在LOG貓我得到這些錯誤。 這裏是我的logcat
`07-08 12:54:39.897: I/Google Maps Android API(25749): Google Play services client version: 5077000
07-08 12:54:39.907: I/dalvikvm(25749): Could not find method guj.a, referenced from method gqi.a
07-08 12:54:39.907: W/dalvikvm(25749): VFY: unable to resolve static method 24936: Lguj;.a (Landroid/content/Context;)Lgri;
07-08 12:54:39.907: D/dalvikvm(25749): VFY: replacing opcode 0x71 at 0x0003
07-08 12:54:39.917: E/dalvikvm(25749): Could not find class 'gpr', referenced from method gps.a
07-08 12:54:39.917: W/dalvikvm(25749): VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-08 12:54:39.917: D/dalvikvm(25749): VFY: replacing opcode 0x22 at 0x0000
07-08 12:54:39.927: E/dalvikvm(25749): Could not find class 'gpr', referenced from method gps.a
07-08 12:54:39.927: W/dalvikvm(25749): VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-08 12:54:39.927: D/dalvikvm(25749): VFY: replacing opcode 0x22 at 0x0000
07-08 12:54:39.927: E/dalvikvm(25749): Could not find class 'gpr', referenced from method gps.a
07-08 12:54:39.927: W/dalvikvm(25749): VFY: unable to resolve new-instance 4090 (Lgpr;) in Lgps;
07-08 12:54:39.927: D/dalvikvm(25749): VFY: replacing opcode 0x22 at 0x0000
07-08 12:54:39.937: D/dalvikvm(25749): DexOpt: unable to opt direct call 0x5ea3 at 0x0a in Lgps;.a
07-08 12:54:39.937: D/dalvikvm(25749): DexOpt: unable to opt direct call 0x5ea3 at 0x0c in Lgps;.a
07-08 12:54:39.937: D/dalvikvm(25749): DexOpt: unable to opt direct call 0x5ea3 at 0x0a in Lgps;.a
07-08 12:54:39.957: I/Google Maps Android API(25749): Google Play services package version: 5084034
07-08 12:54:39.977: W/dalvikvm(25749): VFY: unable to resolve static field 20873 (t) in Lyp;
07-08 12:54:39.977: D/dalvikvm(25749): VFY: replacing opcode 0x62 at 0x000e
07-08 12:54:39.977: W/dalvikvm(25749): VFY: unable to resolve static field 20873 (t) in Lyp;
07-08 12:54:39.977: D/dalvikvm(25749): VFY: replacing opcode 0x62 at 0x000d
07-08 12:54:40.888: I/dalvikvm(25749): Failed resolving Lcom/google/android/gms/location/internal/ParcelableGeofence; interface 4023 'Lgln;'
07-08 12:54:40.888: W/dalvikvm(25749): Link of class 'Lcom/google/android/gms/location/internal/ParcelableGeofence;' failed
07-08 12:54:40.898: E/dalvikvm(25749): Could not find class 'com.google.android.gms.location.internal.ParcelableGeofence', referenced from method glt.a
07-08 12:54:40.898: W/dalvikvm(25749): VFY: unable to resolve check-cast 2086 (Lcom/google/android/gms/location/internal/ParcelableGeofence;) in Lglt;
07-08 12:54:40.898: D/dalvikvm(25749): VFY: replacing opcode 0x1f at 0x0019
07-08 12:54:41.589: W/ActivityThread(25749): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());`
我試圖以Google它,它似乎沒有妥善的解決辦法又那麼這將是有益的,如果有人可以幫助我。
這與Eclipse無關,我使用AS和我遇到了同樣的問題。這似乎與Google Play Services上次更新有關。 – Imanol
他們已經棄用了一些API在這裏看看:http://developer.android.com/reference/com/google/android/gms/location/package-summary.html – Imanol
可能重複[無法找到類com。 google.android.gms.location.internal.ParcelableGeofence',引用方法glt.a](http://stackoverflow.com/questions/24549846/could-not-find-class-com-google-android-gms-location -internal-parcelablegeofenc) –