将 Google 登录集成到您的 Android 应用程序错误
Integrating Google Sign-In into Your Android App Error
我正在尝试 this link 但我卡在了 "Add the Google Services plugin" 步骤...我只是添加了他们所说的依赖项,但是 Android Studio 的控制台向我展示了这个错误:
Could not find "com.google.android.gms:play-services-measurement:8.1.0"
我在这里 (SO) 和 google 搜索了信息,但没有找到相关信息。
在将其添加为依赖项之前,您必须实际下载 Google Play 服务库。在您的 Android SDK 管理器中,滚动到底部的 "Extras" 部分,然后下载 "Google Play Services." 下载 "Google Repository" 也是个好主意。
我正在尝试 this link 但我卡在了 "Add the Google Services plugin" 步骤...我只是添加了他们所说的依赖项,但是 Android Studio 的控制台向我展示了这个错误:
Could not find "com.google.android.gms:play-services-measurement:8.1.0"
我在这里 (SO) 和 google 搜索了信息,但没有找到相关信息。
在将其添加为依赖项之前,您必须实际下载 Google Play 服务库。在您的 Android SDK 管理器中,滚动到底部的 "Extras" 部分,然后下载 "Google Play Services." 下载 "Google Repository" 也是个好主意。