title: Changing First Activity in App
body: <p>I'm trying to change the first <code>Activity</code> of my app and I believe I would just have to change in the <code>Manifest</code> under the Activity tag.</p>
  
  <p>Right now I'm trying to change it to Main2Activity. </p>
  
  <pre><code>&lt;activity android:name=".Main2Activity"&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;
  </code></pre>
  
  <p>When I run this I get the error Error:Execution failed for task ':app:processDebugManifest'.
  Manifest merger failed with multiple errors, see logs</p>
  
  <p>I'm unsure how to go about fixing this. It works fine if I leave it as MainActivity though. </p>
  
  <p>Class I'm trying to add</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main2);
  }
  
  public void multiplayerView(View view) {
      startActivity(new Intent(this, MainActivity.class));
  }
  
  public void campaignView(View view) {
      startActivity(new Intent(this, MainActivity.class));
  }
  </code></pre>
  
  <p>}</p>