Not able to create build for native android platform.

HI, I tried to create new build from Dev and QA environment.

Suddenly I am getting errors while creating new build. please find the logs below.


[2019-07-04T11:59:32.659Z] [INFO] Start processing job request...
[2019-07-04T11:59:32.661Z] [INFO] Start generating application...
[2019-07-04T11:59:32.662Z] [INFO] Template version: 5.1.2
[2019-07-04T11:59:32.662Z] [INFO] Build features: cordovaNoFetch - true
[2019-07-04T11:59:32.662Z] [INFO] Build features: buildTimeout - 20
[2019-07-04T11:59:32.662Z] [INFO] Creating a temporary folder for the application...
[2019-07-04T11:59:32.663Z] [INFO] Creating the required directory structure for your cordova application...
[2019-07-04T11:59:37.156Z] [INFO] Getting application resources...
[2019-07-04T11:59:37.210Z] [INFO] Processing application resources...
[2019-07-04T11:59:37.939Z] [INFO] Generating application assets...
[2019-07-04T11:59:38.488Z] [INFO] Applying configurations in the config.xml file...
[2019-07-04T11:59:38.511Z] [INFO] Applying advanced configurations in the config.xml file...
[2019-07-04T11:59:38.511Z] [INFO] Applying custom application icons...
[2019-07-04T11:59:38.512Z] [INFO] Applying custom application splashscreens...
[2019-07-04T11:59:38.512Z] [INFO] Applying application preferences...
[2019-07-04T11:59:38.519Z] [INFO] Writing your cordova preferences...
[2019-07-04T11:59:38.519Z] [INFO] Applying application accessList...
[2019-07-04T11:59:38.519Z] [INFO] Adding target platform...
[2019-07-04T12:00:20.681Z] [INFO] Applying plugins in the config.xml file...
[2019-07-04T12:00:20.681Z] [INFO] Plugin Id: https://github.com/OutSystems/cordova-plugin-camera#4.0.3-OS
[2019-07-04T12:00:20.682Z] [INFO] Plugin Action: add
[2019-07-04T12:00:23.745Z] [INFO] Plugin Id: cordova-plugin-buildinfo
[2019-07-04T12:00:23.745Z] [INFO] Plugin Action: add
[2019-07-04T12:00:25.680Z] [INFO] Plugin Id: https://github.com/kelter-antunes/cordova-plugin-android-permission.git
[2019-07-04T12:00:25.680Z] [INFO] Plugin Action: add
[2019-07-04T12:00:28.255Z] [INFO] Plugin Id: https://github.com/OutSystems/csZBar.git#v1.3.3-OS3
[2019-07-04T12:00:28.255Z] [INFO] Plugin Action: add
[2019-07-04T12:00:31.479Z] [INFO] Plugin Id: https://github.com/aquto/cordova-plugin-imei.git
[2019-07-04T12:00:31.479Z] [INFO] Plugin Action: add
[2019-07-04T12:00:34.013Z] [INFO] Plugin Id: https://github.com/driftyco/ionic-plugin-keyboard
[2019-07-04T12:00:34.013Z] [INFO] Plugin Action: add
[2019-07-04T12:00:37.263Z] [INFO] Plugin Id: https://github.com/Furkan68/MacAddress.git#0.2.0
[2019-07-04T12:00:37.263Z] [INFO] Plugin Action: add
[2019-07-04T12:00:39.472Z] [INFO] Plugin Id: https://github.com/apache/cordova-plugin-vibration#3.0.1
[2019-07-04T12:00:39.472Z] [INFO] Plugin Action: add
[2019-07-04T12:00:42.228Z] [INFO] Plugin Id: https://github.com/aportuguesecoder/cordova-plugin-networkinterface.git
[2019-07-04T12:00:42.232Z] [INFO] Plugin Action: add
[2019-07-04T12:00:45.613Z] [INFO] /tmp/build/source/resources0/Cordova-Plugin-BarcodeScanner-EMDK-master
[2019-07-04T12:00:45.613Z] [INFO] Plugin Action: add
[2019-07-04T12:00:46.770Z] [INFO] /tmp/build/source/resources1/cordova-plugin-logtofile-master
[2019-07-04T12:00:46.770Z] [INFO] Plugin Action: add
[2019-07-04T12:00:47.926Z] [INFO] Getting signing keys...
[2019-07-04T12:00:48.037Z] [INFO] Building application package...
[2019-07-04T12:01:19.898Z] [ERROR] Stopping Daemon(s)

2 Daemons stopped

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.10.3/userguide/gradle_daemon.html.


Daemon will be stopped at the end of the build stopping after processing



> Configure project :app


WARNING: Configuration 'provided' is obsolete and has been replaced with 'compileOnly'.

It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html


WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.


It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html




> Task :help

Welcome to Gradle 4.10.3.

To run a build, run gradle <task> ...

To see a list of available tasks, run gradle tasks

To see a list of command-line options, run gradle
--help

To see more detail about a task, run gradle help --task <task>

For troubleshooting, visit
https://help.gradle.org


BUILD SUCCESSFUL in 7s
1 actionable task: 1 executed


Starting a Gradle Daemon, 8 stopped Daemons could not be reused, use --status for details



> Configure project :app


WARNING: Configuration 'provided' is obsolete and has been replaced with 'compileOnly'.


It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html


WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.


It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html




> Task :clean UP-TO-DATE
> Task :app:clean UP-TO-DATE

> Task :CordovaLib:clean UP-TO-DATE

> Task :app:cleanBuildCache

> Task :CordovaLib:cleanBuildCache


BUILD SUCCESSFUL
 in 7s
5 actionable tasks: 2 executed, 3 up-to-date


/tmp/build/source/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Failed to transform file 'com.symbol.emdk.jar' to match attributes {artifactType=processed-jar} using transform IdentityTransform
   > Transform output file /opt/NativeBuilder/builds/486313bf-adca-45a1-9344-7ed7deaeb152/source/platforms/android/app/lib/com.symbol.emdk.jar does not exist.

* 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

BUILD FAILED in 11s
Error: /opt/NativeBuilder/builds/486313bf-adca-45a1-9344-7ed7deaeb152/source/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: /opt/NativeBuilder/builds/486313bf-adca-45a1-9344-7ed7deaeb152/source/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Failed to transform file 'com.symbol.emdk.jar' to match attributes {artifactType=processed-jar} using transform IdentityTransform
   > Transform output file /opt/NativeBuilder/builds/486313bf-adca-45a1-9344-7ed7deaeb152/source/platforms/android/app/lib/com.symbol.emdk.jar does not exist.

* 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

BUILD FAILED in 11s

[2019-07-04T12:01:19.899Z] [ERROR] Build failed with the following error: An unexpected error has occurred while generating your application. Please try again. If the problem persists, contact OutSystems Support.
[2019-07-04T12:01:19.899Z] [INFO] Remove debug/release signing properties
[2019-07-04T12:01:19.901Z] [INFO] Zipping application source...
[2019-07-04T12:01:47.655Z] [INFO] Application was not successfully generated!
[2019-07-04T12:01:47.657Z] [INFO] Execution time: 135044ms


Thanks

Dileep

2 possibility :

1. if previously build run, then maybe the MABS version is changed, check it at Nativebuilder on service center and change it to lower version (usually from 5 to 4)

2. One of your git plugin is not completed/changed