android studio unable to save settings,Android Studio – Gradle同步失败:已经处理完...

更新到Android Studio 3.2 Beta 1后,我开始为两个不同的项目收到以下错误:

Gradle sync failed: Already disposed!

Android Studio 3.1.3没有错误,在更新到beta 1之前,Android Studio 3.2的各种金丝雀版本没有错误.

我已经尝试了我能想到的一切(例如完整清理项目,包括所有生成的.gradle / .iml / .idea文件/文件夹,以及完整的无效缓存和Android Studio重启)但没有成功.使用Gradle从命令行按预期工作.

编辑

事件日志正在显示

Unable to save plugin settings: The plugin org.jetbrains.android failed to save settings and has been disabled. Please restart Android Studio

在“IDE Fatal Errors”窗口中,我看到以下异常:

'Gradle: backport-util-concurrent:backport-util-concurrent:3.1@jar' already disposed: --------------Creation trace:

java.lang.Throwable

at com.intellij.openapi.util.TraceableDisposable.(TraceableDisposable.java:45)

at com.intellij.openapi.roots.impl.libraries.LibraryImpl.(LibraryImpl.java:103)

at com.intellij.openapi.roots.impl.libraries.LibraryImpl.(LibraryImpl.java:69)

at com.intellij.openapi.roots.impl.libraries.LibraryTableBase$LibraryModel.readExternal(LibraryTableBase.java:327)

at com.intellij.openapi.roots.impl.libraries.LibraryTableBase.loadState(LibraryTableBase.java:64)

at com.intellij.openapi.roots.impl.libraries.LibraryTableBase.loadState(LibraryTableBase.java:30)

at com.intellij.configurationStore.ComponentStoreImpl.doInitComponent(ComponentStoreImpl.kt:375)

at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:331)

at com.intellij.configurationStore.ComponentStoreImpl.initPersistenceStateComponent(ComponentStoreImpl.kt:121)

at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:96)

at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.initializeComponent(PlatformComponentManagerImpl.java:54)

EDIT2:

更新版本的Android Studio 3.2也存在同样的问题.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值