Hello, i made a button that switches the activity. But everytime i press this button the app crashes. Android studio sys its because i didn’t declared smth in my manifest but idk what. Here is the error and the manifest. Would be great if someone could help me there.
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MyApplication"
android:usesCleartextTraffic="true">
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity2"
android:exported="true"
android:label="@string/app_name" >
</activity>
</application>
</manifest>
![Screenshot 2022-10-22 175216|690x229](upload://qNW4wf7dSsF6ndmBJWhxv410TeJ.png)