googleMap.setMyLocationEnabled(true)无法在旧设备上运行

时间:2014-07-23 21:12:15

标签: android maps google-play-services

我一直在Android上使用谷歌地图。它显示地图,我可以添加标记,移动相机。一切正常(从Android 2.3到4.x),直到我把googleMap.setMyLocationEnabled(true)。然后它只适用于4.x,应用程序崩溃在2.3。这是我在LogCat上得到的:

  07-23 20:56:25.080: E/dalvikvm(2214): Could not find class 'android.database.sqlite.SQLiteCantOpenDatabaseException', referenced from method com.google.android.gms.plus.provider.PlusProvider.a
    07-23 20:56:25.090: W/dalvikvm(2214): VFY: unable to resolve instanceof 406 (Landroid/database/sqlite/SQLiteCantOpenDatabaseException;) in Lcom/google/android/gms/plus/provider/PlusProvider;
07-23 20:56:28.906: E/dalvikvm(2214): Could not find class 'android.os.UserManager', referenced from method cbe.c
07-23 20:56:28.906: W/dalvikvm(2214): VFY: unable to resolve check-cast 543 (Landroid/os/UserManager;) in Lcbe;

07-23 21:07:53.940: E/CheckinTask(2214): Checkin failed: https://android.clients.google.com/checkin (request #0): java.io.IOException: No Content-Type header

0 个答案:

没有答案