android - Android Studio:添加 Google Places 依赖项失败
问题描述
我目前正在关注将 Google Places SDK 添加到我的 Android 应用程序的教程。但是,当我将以下行添加到我的 build.gradle (:app) 时,我的应用程序将无法运行:
实施 'com.google.android.libraries.places:places:2.4.0'
我遇到以下错误:
任务“:app:dataBindingMergeDependencyArtifactsDebug”执行失败。无法解析配置 ':app:debugCompileClasspath' 的所有文件。找不到 com.google.firebase:firebase-encoders-json:12.0.1。要求:项目:app > com.google.android.datatransport:transport-backend-cct:2.3.0
我怎样才能解决这个问题?我已经为我的项目创建并添加了一个 API 密钥,现在我迷路了。
解决方案
推荐阅读
- bigdata - 数据归档与数据摄取
- regex - 从字符串中的第二个括号中提取值
- mysql - 更新查询中的增量在表中添加 2 而不是 1
- android - 离子原生插件升级到 WKWebView 后停止工作
- javascript - 如何使用 ReactNative WebView 组件在我的 Android 应用程序中显示网页的特定部分?
- c# - 如何在c#中使用restclient处理嵌套查询
- powershell - 在 PowerShell 中添加对象属性的值,而无需按名称访问每个属性
- java - 在java中读取和写入文件
- asp.net-mvc - UnauthorizedAccessException 使用需要访问令牌的 API
- c# - 如何简化下面的 LookUp 命令?