After upgrading to android 12, the application won't compile. The error displayed in the Merged manifest is related to android:exported attribute which needs to be explicitly specified for components that have an intent filter defined. To fix this issue, you need to set the android:exported attribute to false for all the activities in your manifest file.
Here's an example of how to set the android:exported attribute:
Once you have set the android:exported attribute for all the activities in your manifest file, you should be able to compile your application without any errors.
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3