Why is my app crashing?
<p>I am making an android tic tac toe app. When I run the app on my <strong>GS2</strong>, the app crashes. I can't figure what the problem is, so here is my <strong>onCreate()</strong> method.(I havent added any more methods, my app is just starting..):</p>

<pre><code>super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    Typeface font = Typeface.createFromAsset(getAssets(), "coolvetica.ttf");
    final Button button1 = (Button) findViewById(R.id.button1);
    final Button button2 = (Button) findViewById(R.id.Button01);
    button1.setTypeface(font);
    button2.setTypeface(font);
    button1.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v) {
            button1.setBackgroundResource(R.drawable.startbuttonpressed);
        }
    });
    button2.setOnClickListener(new View.OnClickListener() {
        public void onClick(View v) {
            button2.setBackgroundResource(R.drawable.resetbuttonpressed);
            // Perform action on click
        }
    });
</code></pre>
