title: First Android Test Project does not start
body: <p>I'm creating my first android application but it does not start at all.</p>
  
  <p>In my src > android.SampleApp I created a java file named Main.java with:</p>
  
  <pre><code>public class Main extends Activity {
  
  // Will be connected with the buttons via XML
  public void myClickHandler(View view) {
      switch (view.getId()) {
      case R.id.btn1:
          ((EditText) findViewById(R.id.txtContent)).setText("Button 1 Clicked");
          break;
      case R.id.btn2:
          ((EditText) findViewById(R.id.txtContent)).setText("Button 2 Clicked");
          break;
  
      }
  }
  }
  </code></pre>
  
  <p>In my res > layout > main.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  &gt;
  &lt;TextView  
  android:layout_width="fill_parent" 
  android:layout_height="wrap_content" 
  android:text="@string/hello" android:id="@+id/txtContent"/&gt;
  &lt;Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button One" android:id="@+id/btn1"&gt;&lt;/Button&gt;
  &lt;Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button Two" android:id="@+id/btn2"&gt;&lt;/Button&gt;
  </code></pre>
  
  <p></p>
  
  <p>My AndroidManifest.xml content:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="android.SampleApp"
    android:versionCode="1"
    android:versionName="1.0"&gt;
  &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
  
  
  &lt;/application&gt;
  &lt;uses-sdk android:minSdkVersion="7" /&gt;
  </code></pre>
  
  <p> </p>
  
  <p>I get this error:</p>
  
  <ol>
  <li>[2010-02-02 01:46:26 - SampleApp]Android Launch!</li>
  <li>[2010-02-02 01:46:26 - SampleApp]adb is running normally.</li>
  <li>[2010-02-02 01:46:26 - SampleApp]No Launcher activity found!</li>
  <li>[2010-02-02 01:46:26 - SampleApp]The launch will only sync the application package on the device!</li>
  <li>[2010-02-02 01:46:26 - SampleApp]Performing sync</li>
  </ol>
  
  <p>Lines 3 and 4 is highlighted red.</p>
  
  <p>Could someone lead my in the right direction to just get the application to show on the emulator?</p>
  
  <p>Android 2.1 SDK with Eclipse</p>