dependencies {
implementation 'com.github.pwittchen:reactivesensors:0.2.0'
implementation 'com.github.pwittchen:reactivewifi:0.3.1'
implementation 'com.github.pwittchen:reactivebeacons:ralfw-android-1.0.0-beta-1'
implementation 'com.github.pwittchen:reactivebluetoothlrw:0.1.1'
}
检查Gradle版本是否与air location库的版本兼容。
如果仍然无法工作,请在Android Studio中清除库缓存:File -> Invalidate Caches / Restart ->点击“Invalidate Caches and Restart”按钮。
确保设备已经连接,安装并更新Google Play服务和Google Play服务库。
确保您在项目中使用的API密钥已经激活,而且已经为正确的应用程序包名设置。如果有需要,请生成新的API密钥。