美文网首页
Butter Knife 失效问题

Butter Knife 失效问题

作者: blossom_6694 | 来源:发表于2023-03-23 11:30 被阅读0次

维护一份老项目 突然有个组件的Butter Knife失效了
怎么也找不到原因,最后在github 上发现

If you are using Kotlin, replace annotationProcessor with kapt.

原来我新添加了kotlin 插件 要把:

annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
改为
kapt 'com.jakewharton:butterknife-compiler:10.2.3'

相关文章

网友评论

      本文标题:Butter Knife 失效问题

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