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

解決方法

這裏寫圖片描述

這樣就可以解決掉問題了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章