Reputation: 322
Task :app:processReleaseMainManifest FAILED /Users/Ganesh/StudioProjects/sample/app/src/main/AndroidManifest.xml Error: 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. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
Execution failed for task ':app:processReleaseMainManifest'.
Manifest merger failed : 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. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
+Adding merger error on manifest file.
Warning Package name 'uninitialized.application.id' used in: AndroidManifest.xml, AndroidManifest.xml. sample.carouselview manifest
Upvotes: 1
Views: 933
Reputation: 1
I had the same issue changed my targetSdk to 30 from 31 in build.gradle it worked.
Upvotes: -1
Reputation: 322
I Checked all manifest files in my project. I couldn't find any issues so, used a workaround by changing target sdk to targetSdkVersion 30
.
Upvotes: -1