com.intellij.ide.plugins.PluginManager$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

解决方法有两种:
方法1:使用Android studio 2.1及之前版本;
方法2:把anko plugin插件移除:
插件移除方法

问题传送门

猜你喜欢

转载自blog.csdn.net/azhansy/article/details/53079460
今日推荐