Open Kcarpenter528 opened 2 years ago
Hello @Kcarpenter528,
Make sure you have set both compileSdkVersion
and targetSdkVersion
to 31 in your Gradle files.
Regards, Zafir.
Seeing the same issue here.
The targetSdkVersion
must be 31
in your config.xml
file, though the minSdkVersion
can still be lower than that.
Additionally, there may be other projects that have to be updated. Some of the other plugins do not officially support Android 12 and as of writing this the release of cordova-android
which officially supports Android 12 (10.1.2, 11.0.0) doesn't appear to have been released.
Hello @nvahalik,
You can review the updated demo project as we have updated the targetSdkVersion
to 31, cordova-android
and cordova
to the lastest version. Everything is working fine. PR https://github.com/spoonconsulting/cordova-plugin-background-upload/pull/214.
Regrads, Zafir.
Getting this error message when attempting to build on latest released plugin v4.0.2: Execution failed for task ':app:checkDebugAarMetadata'.
Cordova CLI version 11 Cordova Android Platform: 10.1.1 Create brand new Cordova app: cordova create test_app com.test.app test_app Add Android platform: cordova platform add android Add only Spoon Consulting Plugin: cordova plugin add @spoonconsulting/cordova-plugin-background-upload Prepare/Build: cordova prepare && cordova build