[英]Android Genymotion Location (Google Services API) doesn't work
I installed Google Services API in my Genymotion and after I downloaded the location example ( https://github.com/googlesamples/android-play-location/tree/master/BasicLocationSample ) and it doesn't work, I set GPS and Data abled.我在我的 Genymotion 中安装了 Google 服务 API,在我下载了位置示例( https://github.com/googlesamples/android-play-location/tree/master/BasicLocationSample )后,它不起作用,我设置了 GPS 和数据有能力的。 I tested it on my real phone and it works!
我在我的真实手机上测试了它,它可以工作! How to fix?
怎么修?
Google Maps find me on map.谷歌地图在地图上找到我。
Make sure the emulator has Google Play Services installed, and that it's up to date.确保模拟器安装了 Google Play 服务,并且是最新的。 You can update it to the latest version from the Play Store
您可以从 Play 商店将其更新到最新版本
If Google Play Services on Android 6.0 crash everytime, you can try do the same things in this sequence.如果 Android 6.0 上的 Google Play 服务每次都崩溃,您可以尝试按此顺序执行相同的操作。 Maybe it will work.
也许它会起作用。
Here is what I did:这是我所做的:
Genymotion android 6.0 with Google play service Genymotion android 6.0 与谷歌播放服务
To use Google Services Api in your genymotion you must follow this steps:要在您的 genymotion 中使用 Google Services Api,您必须按照以下步骤操作:
1) Download the ARM Translation Installer v1.1(ARMTI) 1) 下载ARM Translation Installer v1.1(ARMTI)
2) Download the Google Apps for your specific Android version. 2) 下载适用于您特定 Android 版本的Google Apps 。
3) Drag and drop ARM Translation zip file to your emulator. 3) 将 ARM Translation zip 文件拖放到您的模拟器中。
4) Reboot your emulator 4) 重启你的模拟器
5) Drag and Drop the correct Google App version to your emulator 5) 将正确的 Google App 版本拖放到您的模拟器
6) Reboot your emulator 6) 重启你的模拟器
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.