title: First activity won't run on AVD
body: <p>I created an application, my first, and am having problems running it on an AVD. Won't load the first activity, just says 'Unfortunately, FussyFestivalrV7 has stopped. This is the main starting activity:</p>
  
  <pre><code>package com.example.fussyfestivalr;
  
  import android.app.Activity;
  import android.content.Intent;
  import android.os.Bundle;
  import android.view.View;
  import android.widget.Button;
  public class MainActivity extends Activity {
  
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_main);
  
       Button switchButton = (Button) findViewById(R.id.button1);
  
       switchButton.setOnClickListener(new View.OnClickListener() {
  
           @Override
           public void onClick(View v) {
               Intent intent = new Intent(MainActivity.this, News.class);
               startActivity(intent);
           }
       });
  
  }
  }
  </code></pre>
  
  <p>And my layout</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@string/title"
  tools:context="${relativePackage}.${activityClass}" &gt;
  
  &lt;TextView
      android:id="@+id/title"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentTop="true"
      android:layout_centerHorizontal="true"
      android:text="@string/title"
      android:textAppearance="?android:attr/textAppearanceLarge" /&gt;
  
  &lt;Button
      android:id="@+id/newsbutton"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_below="@+id/title"
      android:layout_centerHorizontal="true"
      android:layout_marginTop="35dp"
      android:text="@string/news" /&gt;
  
  &lt;Button
      android:id="@+id/exit"
      style="?android:attr/buttonStyleSmall"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_marginBottom="17dp"
      android:layout_toRightOf="@+id/title"
      android:text="@string/exit" /&gt;
  
  &lt;Button
      android:id="@+id/bands"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_above="@+id/exit"
      android:layout_centerHorizontal="true"
      android:layout_marginBottom="44dp"
      android:text="@string/bands" /&gt;
  
  &lt;Button
      android:id="@+id/fafq"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_above="@+id/bands"
      android:layout_centerHorizontal="true"
      android:layout_marginBottom="53dp"
      android:text="@string/fafq" /&gt;
  
  &lt;Button
      android:id="@+id/profiles"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_above="@+id/fafq"
      android:layout_centerHorizontal="true"
      android:layout_marginBottom="41dp"
      android:text="@string/festivals" /&gt;
  </code></pre>
  
  <p></p>