Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio can't resolve 'import butterknife.Views;' #4

Open
IanButterworth opened this issue Feb 23, 2015 · 2 comments
Open

Android Studio can't resolve 'import butterknife.Views;' #4

IanButterworth opened this issue Feb 23, 2015 · 2 comments

Comments

@IanButterworth
Copy link

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;
....

@IanButterworth
Copy link
Author

Issue can be resolved by replacing: import butterknife.Views;
with: import butterknife.ButterKnife;

and one mention of: Views.inject(this);
with: ButterKnife.inject(this);

@davidvavra
Copy link
Member

Yes the app uses old version of ButterKnife with different API. Would you like to submit a pull request with updated ButterKnife?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants