Android 12 require you to add a piece of code to your main activity
Go to your project folder and open AndroidManifest.xml file
Add the below code in activity
android:exported="true"
Example
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
</activity>
Android 12 require you to add a piece of code to your main activity
1. Go to your project folder and open AndroidManifest.xml file
2. Add the below code in activity
android:exported="true"
3. Example
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
</activity>