Android apps force close
<p>I'm trying to learn some android development and seem to be having a continuing problem with my applications not running.  One that I'm working with now has the below code, but I'm really wondering if there's not something wrong with my set up.  Was hoping to get your thoughts...</p>

<p>Manifest</p>

<pre><code> &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.deadEddie.counter"
    android:versionCode="1"
    android:versionName="1.0" &gt;

    &lt;uses-sdk
        android:minSdkVersion="7"
        android:targetSdkVersion="15" /&gt;

    &lt;application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" &gt;
        &lt;activity
            android:name=".MainActivity"
            android:label="@string/title_activity_main" &gt;
            &lt;intent-filter&gt;
                &lt;action android:name="android.intent.action.MAIN"/&gt;
                &lt;category android:name="android.intent.category.LAUNCHER"/&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;
    &lt;/application&gt;

&lt;/manifest&gt;
</code></pre>

<p>activity_main.xml</p>

<pre><code>    &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" 
    android:background="#000000"&gt;

    &lt;TextView

    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:textColor="@string/color"
    android:textSize="30dp"
    android:text="@string/text"
    android:textStyle="bold"
    android:gravity="center"
    android:id="@+id/tvDisplay"

    /&gt;

    &lt;Button
    android:id="@+id/btnAdd"
    android:layout_width="250dp"
    android:layout_height="wrap_content"
    android:text="@string/btn1Title"
    android:layout_gravity="center" 
    /&gt;

    &lt;Button
    android:id="@+id/btnSubtract"
    android:layout_width="250dp"
    android:layout_height="wrap_content"
    android:text="@string/btn2Title"
    android:layout_gravity="center"
    /&gt;


&lt;/LinearLayout&gt;
</code></pre>

<p>MainActivity.java</p>

<pre><code>package com.deadEddie.counter;

import android.os.Bundle;
import android.app.Activity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class MainActivity extends Activity 
{
int counter;
Button add;
Button subtract;
TextView display;

@Override
public void onCreate(Bundle savedInstanceState) 
{
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    counter = 0;
    add = (Button) findViewById(R.id.btnAdd);
    subtract = (Button) findViewById(R.id.btnSubtract);
    display = (TextView) findViewById(R.id.tvDisplay);

    add.setOnClickListener(new View.OnClickListener() 
    {

        @Override
        public void onClick(View v) 
        {
            // TODO Auto-generated method stub
            counter ++;
            display.setText("Counter = " + counter);

        }
    });
    subtract.setOnClickListener(new View.OnClickListener() 
    {

        @Override
        public void onClick(View v) 
        {
            // TODO Auto-generated method stub
            counter --;
            display.setText("Counter = "+ counter);
        }
    });

    }
}
</code></pre>

<p>For some reason, I am not getting a Logcat output.</p>

<p>I hope this is enough information for someone to give me a hand.  Its probably that there's a newbie at the keyboard, but help would be appreciated nontheless.</p>

<p>Thanks</p>
