我只是在尝试this link但我陷入了“添加 Google 服务插件”步骤...我刚刚添加了他们所说的依赖项,但 Android Studio 的控制台向我显示了此错误:
Could not find "com.google.android.gms:play-services-measurement:8.1.0"
我在这里(SO)和谷歌搜索了信息,但没有找到任何相关信息。
最佳答案
在将 Google Play 服务库添加为依赖项之前,您必须实际下载它。在 Android SDK 管理器中,滚动到底部的“Extras”部分,然后下载“Google Play Services”。下载“Google Repository”也是一个好主意。
关于android - 将 Google 登录集成到您的 Android 应用程序中时出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32854709/