0
我正在创建一个应用程序,使用Google Maps API v2。它工作正常,除了有点讨厌这个,当我使用setMyLocationEnabled(true);
方法,我得到一个ClassNotFoundException
。我只需点击“恢复”,应用就会继续。在没有调试器的情况下运行时,没有任何可以看到的事情发生。Android Google Maps提供了一个ClassNotFoundException
这是logcat的是说:
09-23 22:39:31.645: I/dalvikvm(2067): Failed resolving Lcom/google/android/gms/location/internal/ParcelableGeofence; interface 4023 'Lglm;'
09-23 22:39:31.645: W/dalvikvm(2067): Link of class 'Lcom/google/android/gms/location/internal/ParcelableGeofence;' failed
09-23 22:39:32.473: W/dalvikvm(2067): VFY: unable to resolve static field 4203 (CREATOR) in Lcom/google/android/gms/location/internal/ParcelableGeofence;
它看起来像在图书馆缺少类,如果我跳进库项目,我确实没有看到类。
有什么我可以添加/修复,使这个例外消失?
只有在调试模式下才能看到此错误? – ashoke 2014-09-23 21:19:18