ButterKnife 8.0.1 not working

前端 未结 10 1179
粉色の甜心
粉色の甜心 2020-12-05 16:42

I am using butterknife 8.0.1, but a nullpointerexception is appearing.

This line is on my build.grade file: compile \'com.ja

10条回答
  •  自闭症患者
    2020-12-05 17:37

    I had this issue too, just because I've added butterknife from Android Studio's Dependency management and not by copy-pasting gradle lines from Butterknife website. So I had to add compile 'com.jakewharton:butterknife:8.5.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1' instead of just compile 'com.jakewharton:butterknife:8.5.1'

提交回复
热议问题