问题
Unable to find Butterknife.Action and ButterKnife.apply on upgrading the Butterknife version 8.8.1 to version 10.2.0
error: cannot find symbol
public static final ButterKnife.Action<View> GONE = (view, index) -> view.setVisibility(View.GONE);
^
symbol: class Action
location: class ButterKnife
回答1:
Those methods are deprecated and no longer available since version 10.0.0: more details here and here.
来源:https://stackoverflow.com/questions/58135078/unable-to-find-butterknife-action-on-upgrading-the-butterknife-version-8-8-1-to