我的模拟器有这个问题,我使用的是 API 5.1.1 并且我有来自 SDK 管理器的最新版本的 Google Play 服务。
安卓清单.xml:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
在 build.grable 中:
compile 'com.google.android.gms:play-services:+'
原文由 Raphael Teyssandier 发布,翻译遵循 CC BY-SA 4.0 许可协议
我将 SDK 从 5.1 降级到 5.0,它正在运行。