升級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
解決方法
這樣就可以解決掉問題了