butterknife报错 cannot find method "value" cannot resolve symbol

时间:2025-01-25 13:56:44
package ; import ; import .; import ; import ; import ; public class MainActivity extends AppCompatActivity { @InjectView(.button) Button button1; @InjectView(.button2) Button button2; @InjectView(.button3) Button button3; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(.activity_main); ButterKnife.inject(this); } }