-1

我实现了一个程序来在我的应用程序中显示谷歌地图,它在移动设备中运行良好,但是当我尝试在模拟器中运行时,它抛出异常。谁能给点建议。

 10-03 02:03:53.220: W/GooglePlayServicesUtil(841): Google Play services out of date.  Requires 3265100 but found 2012110
    10-03 02:03:53.240: W/GooglePlayServicesUtil(841): Google Play services out of date.  Requires 3265100 but found 2012110
    10-03 02:03:53.260: W/GooglePlayServicesUtil(841): Google Play services out of date.  Requires 3265100 but found 2012110
    10-03 02:03:53.270: W/GooglePlayServicesUtil(841): Google Play services out of date.  Requires 3265100 but found 2012110
    10-03 02:03:53.290: W/GooglePlayServicesUtil(841): Google Play services out of date.  Requires 3265100 but found 2012110
    10-03 02:03:53.330: W/GooglePlayServicesUtil(841): Google Play services out of date.  Requires 3265100 but found 2012110
    10-03 02:03:53.330: D/AndroidRuntime(841): Shutting down VM
    10-03 02:03:53.341: W/dalvikvm(841): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
    10-03 02:03:53.360: E/AndroidRuntime(841): FATAL EXCEPTION: main
    10-03 02:03:53.360: E/AndroidRuntime(841): java.lang.RuntimeException: Unable to start activity 

提前致谢。

4

3 回答 3

0

即使您启动模拟器并将目标设置为 google api,模拟器也不支持 Google 地图。您将需要一个真实的设备来获取地图。

于 2013-10-03T03:43:19.270 回答
0

您是否启动了目标设置为 Google API 的模拟器?

在此处输入图像描述

于 2013-10-03T02:10:29.143 回答
0

那是因为模拟器不支持地图 v2,您必须使用真实设备。

于 2013-10-03T02:20:17.063 回答