美文网首页
Mac Android Studio 4.1插件不适配方案

Mac Android Studio 4.1插件不适配方案

作者: 该名称已占用 | 来源:发表于2021-02-18 13:53 被阅读0次

Q1: 升级AS 4.1后代码没有颜色区分
原因是安装了不兼容的 ButterKnife,删除Android ButterKnife Zelezny,安装Support Kotlin版本

Q2:安装了之后ButterKnife还是不能使用
方法: 更改安装路径
/Users/XXX/Library/Application Support/Google/AndroidStudio4.1/plugins路径下的jar包移动到 /Applications/Android\ Studio.app/Contents/plugins目录,删除旧目录下与ButterKnife相关的文件,重启AS

Q3: Plugin xxx is incompatible (supported only in IntelliJ IDEA).
同Q2,将插件移动到安装目录下

相关文章

网友评论

      本文标题:Mac Android Studio 4.1插件不适配方案

      本文链接:https://www.haomeiwen.com/subject/pingxltx.html