![]() This attribute sets whether the activity can be launched by components of other applications: Adding android:exported attribute to intents and receiversĪs mentioned in the official notes about the behaviour changes for Android 12, specifically for the security component, i f your app targets Android 12 and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the android:exported attribute for these app components. ![]() In this article, I will share with you the explanation and solution to this exception. While I was trying to create a sandbox project to experiment with Android, launching the Android boilerplate to an emulator launched the mentioned failure of the Manifest merger: 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.Īfter some research, I found the solution, however it wasn't so clear why this was necessary and why the exception appeared with a new project that should automatically work from the beginning in Android Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |