-1
バインドしようとすると、メソッド 'bind(私の主なアクティビティの名前)'を解決できないというエラーが表示されます。ビュー変数をバインドできません。
@BindView(R.id.timeLabel) TextView mTimeLabel;
@BindView(R.id.temperatureLabel) TextView mTemperatureLabel;
@BindView(R.id.humidityValue) TextView mHumidityValue;
@BindView(R.id.precipValue) TextView mPrecipValue;
@BindView(R.id.summaryTextView) TextView mSummaryLabel;
@BindView(R.id.iconImageview) ImageView mIconImageView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Import view variables
ButterKnife.bind(this);
さらに、エラー情報を投稿してください –
レイアウトXMLソースを提供できますか? – DenisGL
@DenisGL the XML - http://pastebin.com/QcEvHttP – user2683183