我正在尝试从https://developer.android.com/training/location/retrieve-current.html编译éclipse上的示例代码,我安装了Google Play服务,请按以下步骤http://developer.android.com/google / play-services / setup.html#设置并收到以下错误:如果手机中缺少Google Play服务,此应用将无法运行。如何解决此问题?
In order to test Google Play Services on an emulator, I'd suggest doing the following:
Then you need to click OK
, at which point you will get the following confirmation:
Now just reboot the virtual device, and you'll have gapps installed. Also note that you need to enable the GPS once the virtual device has booted, using the button on the right of the interface:
This procedure will get you very close to a real device.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.