我只是尝试this link,但我已经陷入了#34;添加Google服务插件"步骤...我刚刚添加了他们所说的依赖,但Android Studio'控制台显示我的错误:
无法找到" com.google.android.gms:play-services-measurement:8.1.0"
我在这里搜索信息(SO)和谷歌但没有找到任何相关信息。
答案 0 :(得分:3)
在将其添加为依赖项之前,您必须实际下载Google Play服务库。在Android SDK Manager中,滚动到底部的“其他”部分,然后下载“Google Play服务”。同样下载“Google Repository”也是一个好主意。