JakeWharton / butterknife

Bind Android views and callbacks to fields and methods.
http://jakewharton.github.io/butterknife/
Apache License 2.0
25.56k stars 4.6k forks source link

Android 15 error message #1704

Open skyyanyujiangnan opened 2 months ago

skyyanyujiangnan commented 2 months ago

07-23 20:45:06.329 11530 11530 E AndroidRuntime: java.lang.VerifyError: Verifier rejected class butterknife.ButterKnife: void butterknife.ButterKnife.() failed to verify: void butterknife.ButterKnife.(): [0xA] Execution can walk off end of code area 07-23 20:45:06.329 11530 11530 E AndroidRuntime: butterknife.Unbinder butterknife.ButterKnife.bind(android.app.Activity) failed to verify: butterknife.Unbinder butterknife.ButterKnife.bind(android.app.Activity): [0xC] Execution can walk off end of code area 07-23 20:45:06.329 11530 11530 E AndroidRuntime: butterknife.Unbinder butterknife.ButterKnife.bind(android.app.Dialog) failed to verify: butterknife.Unbinder butterknife.ButterKnife.bind(android.app.Dialog): [0xC] Execution can walk off end of code area 07-23 20:45:06.329 11530 11530 E AndroidRuntime: butterknife.Unbinder butterknife.ButterKnife.bind(java.lang.Object, android.app.Activity) failed to verify: butterknife.Unbinder butterknife.ButterKnife.bind(java.lang.Object, android.app.Activity): [0xC] Execution can walk off end of code area 07-23 20:45:06.329 11530 11530 E AndroidRuntime: butterknife.Unbinder butterknife.ButterKnife.bind(java.lang.Object, android.app.Dialog) failed to verify: butterknife.Unbinder butterknife.ButterKnife.bind(java.lang.Object, android.app.Dialog): [0xC] Execution can walk off end of code area 07-23 20:45:06.329 11530 11530 E AndroidRuntime: butterknife.Unbinder butterknife.ButterKnife.bind(java.lang.Object, android.view.View) failed to verify: butterknife.Unbinder butterknife.ButterKnife.bind(java.lang.Object, android.view.View): [0x83] Execution can walk off end of code area 07-23 20:45:06.329 11530 11530 E AndroidRuntime: java.lang.reflect.Constructor butterknife.ButterKnife.findBindingConstructorForClass(java.lang.Class) failed to verify: java.lang.reflect.Constructor butterknife.ButterKnife.findBindingConstructorForClass(java.lang.Class): [0xBF] Execution can walk off end of code area (declaration of 'butterknife.ButterKnife' appears in /data/user/0/packagename/.cache/classes.dex)

skyyanyujiangnan commented 2 months ago

Please help

Nahian98 commented 1 month ago

Just migrate your code to view binding bro