[Solved] Android 12 error: Manifest merger failed : android:exported needs to be explicitly specified for .

Error Messages:
Manifest merger failed : android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined.

 

Solution:
1.AndroidManifest.xml set according to the following document, Not Work.
https://developer.android.com/guide/topics/manifest/activity-element#exported
2. Not Work

3. Modify the parameters in the red box under the premise of the above operation, Worked!

Read More: