Пишу следующий код в Android Studio:
public void onCreate(Button savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
При запуске эмулятора выводит такую ошибку:
Error:(9, 14) error: no suitable method found for onCreate(Button)
method ActionBarActivity.onCreate(Bundle) is not applicable
(actual argument Button cannot be converted to Bundle by method invocation conversion)
method FragmentActivity.onCreate(Bundle) is not applicable
(actual argument Button cannot be converted to Bundle by method invocation conversion)
method Activity.onCreate(Bundle,PersistableBundle) is not applicable
(actual and formal argument lists differ in length)
method Activity.onCreate(Bundle) is not applicable
(actual argument Button cannot be converted to Bundle by method invocation conversion)
Что делать?