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

问题描述 投票:0回答:1

我刚刚安装了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
android android-studio kotlin
1个回答
2
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.