I getting this error when I try to build for android 12, api 31, <engine name="android" spec="10.1.1" />
UserError: FAILURE: Build failed with an exception.
* What went wrong: 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.
See log for full details.
So I added android:exported="false" and android:exported="true" in my config below, and it still give me the same error. Voltbuilder and cordova don’t support android 12 yet?
no longer work. I think I can’t add android:exported=“false or true” into the androidmanifest.xml because of the new change. I think the path to AndroidManifest.xml have changed in api 31, I tried different path that I found in the internet (app/src/main/AndroidManifest.xml), it still doesn’t work. You should try it with the correct path and see if you can add android:exported=“false or true”
Tip: If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly. (We fixed it for you this time)
This is especially important when you are giving config file data, so the < tags do not disappear.