android - 在 Intellij Idea 中创建了新项目,并且 gradle 同步一次又一次失败
问题描述
这是即使在 BUILD SUCCESSFULL 之后仍显示的错误
08:14 pm Gradle 同步失败:不支持的方法:AndroidArtifact.getBuildConfigFields()。您连接的 Gradle 版本不支持该方法。要解决此问题,您可以更改/升级您连接到的 Gradle 目标版本。或者,您可以忽略此异常并从模型中读取其他信息。有关更多详细信息,请参阅 IDE 日志(帮助 | 显示日志)(3 秒 678 毫秒)
这些是我添加的实现并将其连接到 Firebase
implementation 'com.google.firebase:firebase-analytics:17.4.4'
implementation 'com.google.firebase:firebase-auth:19.3.2'
implementation 'com.google.firebase:firebase-database:19.3.1'
implementation 'com.google.firebase:firebase-storage:19.1.1'
implementation 'com.firebaseui:firebase-ui-database:2.1.1'
解决方案
推荐阅读
- html - 无法解析日期调用的签名
- angular - 角度 4 ng-bootstrap 模块的问题
- firebase - 圆形进度条颤动
- c# - 如何在 C# winform 中缓存 PictureBox 中的图像
- android - 如何在ViewPager android中设置片段的动态高度包含RecycleView?
- amazon-web-services - AWS Redshift sql 分组方式
- python - 在 Python 中读取 XML 块
- javascript - Bootstrap 4切换开关在vue中不起作用
- arrays - 仅当它与其他随机数不同时才将随机数添加到列表中
- r - 如何根据每三行中存在的值创建百分比列?