butterknife icon indicating copy to clipboard operation
butterknife copied to clipboard

App crashes after code changes until rebuild is performed

Open ernestp opened this issue 6 years ago • 3 comments

Issue similar to https://github.com/JakeWharton/butterknife/issues/957 and https://github.com/JakeWharton/butterknife/issues/864

I'm not using Jack

My gradle rules - https://pastebin.com/RDjfzuDb

ernestp avatar Sep 16 '18 06:09 ernestp

Exception:

 Caused by: java.lang.IllegalStateException: Required view 'expanded_menu' with ID 2131296379 for method 'extraTime' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
    at butterknife.internal.Utils.findRequiredView(Utils.java:92)
    at preved.medved.main.RouteBuilderFragment_ViewBinding.<init>(RouteBuilderFragment_ViewBinding.java:44)
    at java.lang.reflect.Constructor.newInstance0(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
    at butterknife.ButterKnife.createBinding(ButterKnife.java:199)
    at butterknife.ButterKnife.bind(ButterKnife.java:172)

ernestp avatar Sep 16 '18 06:09 ernestp

Yeah we have similar issues

winterDroid avatar Sep 26 '18 11:09 winterDroid

Seems to be the same issue as #897

ChrisTitos avatar Sep 27 '18 10:09 ChrisTitos