将现有项目迁移到Android Studio 3.3失败
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了将现有项目迁移到Android Studio 3.3失败相关的知识,希望对你有一定的参考价值。
我刚刚安装了android Studio 3.3并打开了我现有的项目。遗憾的是,发现存在运行配置问题。你能告诉我修复或重新安装的方法吗?
当我使用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 3.3失败的主要内容,如果未能解决你的问题,请参考以下文章
Android官方开发文档之从Eclipse迁移到Android Studio开发篇
将使用 NDK 和 Gstreamer 的 Eclipse android 项目迁移到 Android Studio