android :StartupAbortedException

来源:互联网 发布:红米4a支持网络频段 编辑:程序博客网 时间:2024/06/10 03:37

升级kotlin anko插件导致项目打不开
com.intellij.ide.plugins.PluginManager$StartupAbortedException:
com.intellij.diagnostic.PluginException:
org/jetbrains/Android/uipreview/AndroidLayoutPreviewToolWindowManager
[Plugin: org.jetbrain.kotlin.android.dsl]


Android studio使用kotlin anko插件出错,导致项目无法打开:
Android studio2.2版本之后的布局跟之前版本的不同了,导致kotlin anko规则无法使用,
DSL Preview plugin is not available for AS 2.2 yet, sorry. We will try to fix this as early as possible, but for now the only possible way is to use AS 2.1 or IntelliJ IDEA

解决方法

这里写图片描述

这样就可以解决掉问题了