Android Studio can't resolve 'import butterknife.Views;'
IanButterworth opened this issue · comments
The 'Views' symbol from butterknife seems to be missing or moved to an unclear location.
Issue arises in SettingsActivity.java.
....
import butterknife.InjectView;
import butterknife.Views;
import com.squareup.otto.Subscribe;
....
Issue can be resolved by replacing: import butterknife.Views;
with: import butterknife.ButterKnife;
and one mention of: Views.inject(this);
with: ButterKnife.inject(this);
Yes the app uses old version of ButterKnife with different API. Would you like to submit a pull request with updated ButterKnife?