1. Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList
使用butterknife:10.0.0开发时,遇到以上错误,此错误引起原因:
我在BaseActivity中进行了Bind
但在MainActivity extends BaseActivity 中,并未使用BindView
所以就报了Caused by: java.lang.ClassNotFoundException。
解决办法
使用了Bind之后,就要使用@BindView