android :StartupAbortedException

升级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

解决方法

android :StartupAbortedException

这样就可以解决掉问题了