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