[Embedded Scanner Plugin] NdkCompile is no longer supported - Mabs compatibility?

Forge Component
(1)
Published on 2019-01-18 by Miguel 'Kelter' Antunes
1 vote
Published on 2019-01-18 by Miguel 'Kelter' Antunes

Hello.


I am trying to use your plugin but i´ve got errors when generating both android and ios apps.

I am using last mabs version.

Here part of the log:


2020-09-18T15:04:00.956Z] [error] [Build] No Gradle daemons are running.

[2020-09-18T15:04:00.956Z] [error] To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.4.1/userguide/gradle_daemon.html.

[2020-09-18T15:04:00.956Z] [error] Daemon will be stopped at the end of the build stopping after processing

[2020-09-18T15:04:00.956Z] [error] > Configure project :app

[2020-09-18T15:04:00.956Z] [error] WARNING: The following project options are deprecated and have been removed: 

[2020-09-18T15:04:00.956Z] [error] android.useDeprecatedNdk

[2020-09-18T15:04:00.956Z] [error] NdkCompile is no longer supported

[2020-09-18T15:04:00.956Z] [error] WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

[2020-09-18T15:04:00.956Z] [error] It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

[2020-09-18T15:04:00.956Z] [error] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

[2020-09-18T15:04:00.956Z] [error] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

[2020-09-18T15:04:00.956Z] [error] > Configure project :CordovaLib

[2020-09-18T15:04:00.956Z] [error] WARNING: The following project options are deprecated and have been removed: 

[2020-09-18T15:04:00.956Z] [error] android.useDeprecatedNdk

[2020-09-18T15:04:00.956Z] [error] NdkCompile is no longer supported

[2020-09-18T15:04:00.956Z] [error] > Task :help

[2020-09-18T15:04:00.956Z] [error] Welcome to Gradle 5.4.1.

[2020-09-18T15:04:00.956Z] [error] To run a build, run gradle <task> ...

[2020-09-18T15:04:00.956Z] [error] To see a list of available tasks, run gradle tasks

[2020-09-18T15:04:00.956Z] [error] To see a list of command-line options, run 

[2020-09-18T15:04:00.956Z] [error] gradle --help

[2020-09-18T15:04:00.956Z] [error] To see more detail about a task, run 

[2020-09-18T15:04:00.956Z] [error] gradle help --task <task>

[2020-09-18T15:04:00.956Z] [error] For troubleshooting, visit https://help.gradle.org

[2020-09-18T15:04:00.956Z] [error] BUILD SUCCESSFUL in 9s

[2020-09-18T15:04:00.956Z] [error] 1 actionable task: 1 executed

[2020-09-18T15:04:00.956Z] [error] Starting a Gradle Daemon (subsequent builds will be faster)

[2020-09-18T15:04:00.956Z] [error] > Configure project :app

[2020-09-18T15:04:00.956Z] [error] WARNING: The following project options are deprecated and have been removed: 

[2020-09-18T15:04:00.956Z] [error] android.useDeprecatedNdk

[2020-09-18T15:04:00.956Z] [error] NdkCompile is no longer supported

[2020-09-18T15:04:00.956Z] [error] WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

[2020-09-18T15:04:00.956Z] [error] It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

[2020-09-18T15:04:00.956Z] [error] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

[2020-09-18T15:04:00.956Z] [error] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

[2020-09-18T15:04:00.956Z] [error] > Configure project :CordovaLib

[2020-09-18T15:04:00.956Z] [error] WARNING: The following project options are deprecated and have been removed: 

[2020-09-18T15:04:00.956Z] [error] android.useDeprecatedNdk

[2020-09-18T15:04:00.956Z] [error] NdkCompile is no longer supported

[2020-09-18T15:04:00.956Z] [error] > Task :clean UP-TO-DATE

[2020-09-18T15:04:00.956Z] [error] > Task :app:clean UP-TO-DATE

[2020-09-18T15:04:00.956Z] [error] > Task :CordovaLib:clean UP-TO-DATE

[2020-09-18T15:04:00.956Z] [error] > Task :app:cleanBuildCache

[2020-09-18T15:04:00.956Z] [error] > Task :CordovaLib:cleanBuildCache

[2020-09-18T15:04:00.956Z] [error] BUILD SUCCESSFUL in 8s

[2020-09-18T15:04:00.956Z] [error] 5 actionable tasks: 2 executed, 3 up-to-date

[2020-09-18T15:04:00.956Z] [error] /opt/NativeBuilder/builds/f79dce93-3e07-4c93-a956-33562c9285b7/source/platforms/android/app/src/main/AndroidManifest.xml:46:5-90 Error:

[2020-09-18T15:04:00.956Z] [error] Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:46:5-90 duplicated with element declared at AndroidManifest.xml:40:5-65

[2020-09-18T15:04:00.956Z] [error] /opt/NativeBuilder/builds/f79dce93-3e07-4c93-a956-33562c9285b7/source/platforms/android/app/src/main/AndroidManifest.xml:50:5-60 Error:

[2020-09-18T15:04:00.956Z] [error] Element uses-feature#android.hardware.camera at AndroidManifest.xml:50:5-60 duplicated with element declared at AndroidManifest.xml:47:5-85

[2020-09-18T15:04:00.956Z] [error] /opt/NativeBuilder/builds/f79dce93-3e07-4c93-a956-33562c9285b7/source/platforms/android/app/src/main/AndroidManifest.xml Error:

[2020-09-18T15:04:00.956Z] [error] Validation failed, exiting

[2020-09-18T15:04:00.956Z] [error] FAILURE: Build failed with an exception.

[2020-09-18T15:04:00.956Z] [error] * What went wrong:

[2020-09-18T15:04:00.956Z] [error] Execution failed for task ':app:processDebugManifest'.

[2020-09-18T15:04:00.956Z] [error] > Manifest merger failed with multiple errors, see logs

[2020-09-18T15:04:00.956Z] [error] * Try:

[2020-09-18T15:04:00.956Z] [error] 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.

[2020-09-18T15:04:00.956Z] [error] * Get more help at https://help.gradle.org

[2020-09-18T15:04:00.956Z] [error] BUILD FAILED in 14s

[2020-09-18T15:04:00.956Z] [error] Error: /opt/NativeBuilder/builds/f79dce93-3e07-4c93-a956-33562c9285b7/source/platforms/android/gradlew: Command failed with exit code 1 Error output:

[2020-09-18T15:04:00.956Z] [error] /opt/NativeBuilder/builds/f79dce93-3e07-4c93-a956-33562c9285b7/source/platforms/android/app/src/main/AndroidManifest.xml:46:5-90 Error:

[2020-09-18T15:04:00.956Z] [error] Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:46:5-90 duplicated with element declared at AndroidManifest.xml:40:5-65

[2020-09-18T15:04:00.956Z] [error] /opt/NativeBuilder/builds/f79dce93-3e07-4c93-a956-33562c9285b7/source/platforms/android/app/src/main/AndroidManifest.xml:50:5-60 Error:

[2020-09-18T15:04:00.956Z] [error] Element uses-feature#android.hardware.camera at AndroidManifest.xml:50:5-60 duplicated with element declared at AndroidManifest.xml:47:5-85

[2020-09-18T15:04:00.956Z] [error] /opt/NativeBuilder/builds/f79dce93-3e07-4c93-a956-33562c9285b7/source/platforms/android/app/src/main/AndroidManifest.xml Error:

[2020-09-18T15:04:00.956Z] [error] Validation failed, exiting

[2020-09-18T15:04:00.956Z] [error] FAILURE: Build failed with an exception.

[2020-09-18T15:04:00.956Z] [error] * What went wrong:

[2020-09-18T15:04:00.956Z] [error] Execution failed for task ':app:processDebugManifest'.

[2020-09-18T15:04:00.956Z] [error] > Manifest merger failed with multiple errors, see logs

[2020-09-18T15:04:00.956Z] [error] * Try:

[2020-09-18T15:04:00.956Z] [error] 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.

[2020-09-18T15:04:00.956Z] [error] * Get more help at https://help.gradle.org

[2020-09-18T15:04:00.956Z] [error] BUILD FAILED in 14s

[2020-09-18T15:04:00.956Z] [error] [Build] Build failed with the following error: Duplicate elements declared in Android Manifest.


Its possible to update this plugin?

Hi,

I am also facing this issue. Have you got any solutions ?


Thanks
Pankaj