Element receiver#nl.xservices.plugins.ShareChooserPendingIntent at AndroidManifest.xml:36:9-40:20 duplicated with element declared at AndroidManifest.xml:12:9-16:20
When I’m generating the Signed Bundle in Android Studio, Please help me with this, any one…..
2
Answers
If your project is Cordova project, you have to update plugin cordova-plugin-x-socialsharing.
Run this scripts:
Try to build your project again. Hope it helps.
Depending if they’ve updated the library correctly or not, you can just add the line android:exported="true" to the manifest file. Sometimes libraries update slowly over a versions release.
It is to do with the migration to Android 12 and API version 31. https://developer.android.com/guide/topics/manifest/activity-element#exported
An easy way to see all the issues to do with this part of the migration, used merged manifest found in this answer.
You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the 'an