Android Studio 5.2 - 刷新失败。原因 :com. google.common.collect.Maps

标签 android android-studio

<分区>

Android Studio 5.2

中的每个项目都突然出现了这个问题
Gradle 'MyApplication4' project refresh failed:
        Cause: com.google.common.collect.Maps
        Gradle settings

确实可以找到有关它的任何信息,因此在重新安装之前会在这里进行检查

最佳答案

如果您将 build.gradle 中的 classpath 'com.android.tools.build:gradle:0.9.+' 更改为 classpath 'com.android.tools.build:gradle: 0.9.1' 它应该修复它。 新版本 0.9.2 打破了一些东西。

关于Android Studio 5.2 - 刷新失败。原因 :com. google.common.collect.Maps,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22670444/

相关文章:

android - 如何在谷歌地图中显示两个地理坐标之间的路线?

android - 在Android应用程序开发中将OpenCV与NDK结合使用

java - Firebase 读取数据时出现空对象引用的 onDataChange 方法错误

android-studio - flutter 问题 : "Could not resolve all artifacts for configuration ' :classpath' "

android - 如何将github源代码插入到我的项目中

android - 如何以编程方式设置 TextView 的宽度和高度以包裹内容

android - 是否可以从同一网络上的另一台设备访问部署在 Android 手机上的 HTTP 服务器?

java - E/FirebaseInstanceId : Token retrieval failed: AUTHENTICATION_FAILED Android studio

android - '错误 : Duplicate resources' after updating Google Open Source Notices to 0. 9.2

Android Room Database - Unresolved reference @Entity 和其他注释