Continuing trying to migrate to Android 14 compilation, now we have an error when compiling with the barcode plugins
using
<engine name="android" spec="13.0.0" />
We have the following error when compiling using the plugin
<plugin name="phonegap-plugin-barcodescanner" source="npm" />
Voltbuider log:
BUILD SUCCESSFUL in 6s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Running Gradle Build: /platforms/android/tools/gradlew cdvBuildDebug
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-
Where:
Script ‘/platforms/android/phonegap-plugin-barcodescanner/xtag-barcodescanner.gradle’ line: 9 -
What went wrong:
A problem occurred evaluating script.
Could not find method compile() for arguments [{name=barcodescanner-release-2.1.5, ext=aar}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
- What went wrong:
A problem occurred configuring project ‘:app’.
compileSdkVersion is not specified. Please add it to build.gradle
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
==============================================================================
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to Command-Line Interface Reference in the Gradle documentation.
BUILD FAILED in 11s
Command failed with exit code 1: /platforms/android/tools/gradlew cdvBuildDebug
Error: Command failed with exit code 1: /platforms/android/tools/gradlew cdvBuildDebug
at makeError (/node_modules/execa/lib/error.js:60:11)
at handlePromise (/node_modules/execa/index.js:118:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ProjectBuilder.build (/node_modules/cordova-android/lib/builders/ProjectBuilder.js:326:20)
2024-07-12 21:05:37,721 - Build failed e6c213dc-db94-4008-9f34-768fa261e0c4
2024-07-12 21:05:39,310 - Output:
2024-07-12 21:05:39,315 - Uploading voltbuilder.log…