Unfortunetly application has stopped
<p>I'm very new to Android and I was trying to create my first application, but it has unfortunetly stopped) I cant figure out why, I use eclipse and it show no errors in that code...</p>

<p>MainActivity.java</p>

<pre><code> package oles.button;

import android.os.Bundle;
import android.app.Activity;
import android.text.InputType;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class MainActivity extends Activity {

int count = 0;

Button myButton;
EditText myText;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    myButton = (Button) findViewById(R.id.my_button);
    myText = (EditText) findViewById(R.id.my_text); 

    myText.setSingleLine();
    myText.setInputType(InputType.TYPE_NULL);

    myButton.setOnClickListener(new OnClickListener() {

        @Override
        public void onClick(View v) {

            myText.setText("You've clicked"+ ++count + "times.");
        }
    });


}




}
</code></pre>
