将现有项目迁移到Android Studio 3.3失败

时间:2019-01-21 09:03:52

标签: android android-studio kotlin

我刚刚安装了Android Studio 3.3并打开了现有项目。不幸的是,发现运行配置存在问题。您能告诉我修复或重新安装的方法吗?

enter image description here

当我使用gradle导入项目时,再次关闭并打开项目,它在日志中显示以下错误:

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

2:16 PM Gradle sync failed: 'Gradle: org.jetbrains.anko:anko-coroutines:0.10.8@aar' already disposed: --------------Creation trace: 
                java.lang.Throwable: 1548137815181
                at com.intellij.openapi.util.TraceableDisposable.<init>(TraceableDisposable.java:45)
                at com.intellij.openapi.roots.impl.libraries.LibraryImpl.<init>(LibraryImpl.java:102)
                at com.intellij.openapi.roots.impl.libraries.LibraryImpl.<init>(LibraryImpl.java:74)
                at com.intellij.openapi.roots.impl.libraries.LibraryTableBase$LibraryModel.createLibrary(LibraryTableBase.java:298)
                at com.intellij.openapi.roots.impl.libraries.LibraryTableBase$LibraryModel.createLibrary(LibraryTableBase.java:291)
                at com.intellij.openapi.roots.impl.libraries.LibraryTableBase$LibraryModel.createLibrary(LibraryTableBase.java:285)
                at com.intellij.openapi.externalSystem.service.project.AbstractIdeModifiableModelsProvider.createLibrary(AbstractIdeModifiableModelsProvider.java:257)
                at com.android.tools.idea.gradle.project.sync.setup.module.android.AndroidMod... (show balloon)

2:17 PM Unable to save settings: Failed to save settings. Please restart Android Studio

1 个答案:

答案 0 :(得分:2)

Android插件在“设置” |“禁用”中被禁用。插件。您需要重新启用它。