Android 12 requires that you explicitly specify an explicit value for android:exported when the corresponding component has an intent filter defined. To fix the issue, you need to set the android:exported attribute to "false" for all activities in your manifest file.
Here's an example of how to set the android:exported attribute to "false" for an activity:
<activity android:name=".ui.GroupSearchActivity" android:exported="false" />
Once you have set the android:exported attribute to "false" for all activities in your manifest file, the error should disappear.
The above is the detailed content of How to Fix the 'android:exported' Error in Android 12?. For more information, please follow other related articles on the PHP Chinese website!