请帮助我想在模拟器上运行我的应用程序,但它没有运行并且不幸地一直显示我
package com.example.test1;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class MainActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button kh = (Button)findViewById(R.id.imageButton3);
kh.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Intent kh = new Intent(MainActivity.this , kh.class);
startActivity(kh);
}
});
}
}