title: Unresolved class MainActivity - AndroidManifest.xml
body: <p>I have an Error in my AndroidManifest.xml I don't know why but it's just here...</p>
  <p>This is AndroidManifest.xml:</p>
  <pre><code>    &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      package=&quot;packagename&quot;&gt;
  
      &lt;application
          android:allowBackup=&quot;true&quot;
          android:icon=&quot;@mipmap/ic_launcher&quot;
          android:label=&quot;@string/app_name&quot;
          android:roundIcon=&quot;@mipmap/ic_launcher_round&quot;
          android:supportsRtl=&quot;true&quot;
          android:theme=&quot;@style/AppTheme&quot;&gt;
          &lt;activity android:name=&quot;.RegisterActivity&quot;&gt;&lt;/activity&gt;
          &lt;activity android:name=&quot;.MainActivity&quot; /&gt;
          &lt;activity android:name=&quot;.LoginActivity&quot;&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
  
                  &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  <p>So basically my Main Activity is pretty empty, and I don't know why this Appears here: C
  My main activity:</p>
  <pre><code>package packagename;
  
  import androidx.appcompat.app.AppCompatActivity;
  import android.os.Bundle;
  
  public class MainActivity extends AppCompatActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  }
  </code></pre>
  <p>here is the image:<br />
  <a href="https://i.stack.imgur.com/QdtxI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QdtxI.png" alt="here is the image" /></a></p>