When I set target version to 31 (Android 12) by this line
<preference name="android-targetSdkVersion" value="31" />
then I get this VoltBuilder error:
Log
UserError: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:processReleaseMa inManifest’. > Manifest merger failed : Apps targeting Andro id 12 and higher are required to specify an explicit value f or android:exported
when the corresponding component has a n intent filter defined.
I think there is no intent filter within my config.xml where I could specify android:exported="false"
. Something wrong with my code? Or is VoltBuilder not yet ready for target 31? Meanwhile I am happy with target 30.
Cordova doesn’t support API 31 yet - it’s coming in the next major update.
Stick with API 30.
- George Henne
Thanks a lot