Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何在emulator中获取google地图?_Android_Google Maps - Fatal编程技术网

Android 如何在emulator中获取google地图?

Android 如何在emulator中获取google地图?,android,google-maps,Android,Google Maps,我在我的应用程序中实现了一个显示GoogleMap的程序,它在移动设备中运行良好,但当我在emulator中尝试运行时,它会抛出以下异常。 谁能提出建议 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(84

我在我的应用程序中实现了一个显示GoogleMap的程序,它在移动设备中运行良好,但当我在emulator中尝试运行时,它会抛出以下异常。 谁能提出建议

 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 

提前感谢。

您启动模拟器时是否将目标设置为Google API


这是因为emulator不支持maps v2,所以您必须使用真实设备。

即使您在目标设置为Google api的情况下启动emulator,emulator也不支持Google maps。你需要一个真正的设备来获取地图。

这不是问题,这是一个日志。