Has anyone ever had this problem?
[2019-06-25T19:43:06.155Z] [INFO] Start processing job request...
[2019-06-25T19:43:06.157Z] [INFO] Start generating application...
[2019-06-25T19:43:06.157Z] [INFO] Template version: 5.1.1
[2019-06-25T19:43:06.157Z] [INFO] Build features: cordovaNoFetch - true
[2019-06-25T19:43:06.157Z] [INFO] Build features: buildTimeout - 20
[2019-06-25T19:43:06.158Z] [INFO] Creating a temporary folder for the application...
[2019-06-25T19:43:06.158Z] [INFO] Creating the required directory structure for your cordova application...
[2019-06-25T19:43:10.278Z] [INFO] Getting application resources...
[2019-06-25T19:43:10.303Z] [INFO] Processing application resources...
[2019-06-25T19:43:10.645Z] [INFO] Generating application assets...
[2019-06-25T19:43:11.408Z] [INFO] Applying configurations in the config.xml file...
[2019-06-25T19:43:11.415Z] [INFO] Applying advanced configurations in the config.xml file...
[2019-06-25T19:43:11.415Z] [INFO] Applying custom application icons...
[2019-06-25T19:43:11.418Z] [INFO] Applying custom application splashscreens...
[2019-06-25T19:43:11.419Z] [INFO] Applying application preferences...
[2019-06-25T19:43:11.419Z] [INFO] Applying application accessList...
[2019-06-25T19:43:11.419Z] [INFO] Adding target platform...
[2019-06-25T19:43:43.487Z] [INFO] Applying plugins in the config.xml file...
[2019-06-25T19:43:43.487Z] [INFO] Plugin Id: https://github.com/apache/cordova-plugin-dialogs.git
[2019-06-25T19:43:43.487Z] [INFO] Plugin Action: add
[2019-06-25T19:43:45.941Z] [INFO] Plugin Id: https://github.com/OutSystems/cordova-plugin-geolocation.git#4.0.1-OS1
[2019-06-25T19:43:45.941Z] [INFO] Plugin Action: add
[2019-06-25T19:43:48.660Z] [INFO] Plugin Id: https://github.com/OutSystems/cordova-plugin-secure-storage.git#2.6.8
[2019-06-25T19:43:48.660Z] [INFO] Plugin Action: add
[2019-06-25T19:43:50.880Z] [INFO] Plugin Id: https://github.com/OutSystems/cordova-plugin-fingerprint.git#2.0.1
[2019-06-25T19:43:50.881Z] [INFO] Plugin Action: add
[2019-06-25T19:43:55.188Z] [INFO] Plugin Id: https://github.com/OutSystemsExperts/google-analytics-plugin.git#1.8.3.os
[2019-06-25T19:43:55.188Z] [INFO] Plugin Action: add
[2019-06-25T19:43:59.663Z] [INFO] Plugin Id: https://github.com/OutSystems/cordova-plugin-inappbrowser.git#1.7.0-os
[2019-06-25T19:43:59.663Z] [INFO] Plugin Action: add
[2019-06-25T19:44:02.585Z] [INFO] Plugin Id: https://github.com/apache/cordova-plugin-dialogs.git
[2019-06-25T19:44:02.585Z] [INFO] Plugin Action: add
[2019-06-25T19:44:05.918Z] [INFO] Getting signing keys...
[2019-06-25T19:44:06.039Z] [INFO] Building application package...
[2019-06-25T19:44:40.972Z] [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
> 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, 2 stopped Daemons could not be reused, use --status for details
> Task :clean
UP-TO-DATE
> Task :app:clean UP-TO-DATE
> Task :CordovaLib:clean
> Task :app:cleanBuildCache
> Task :CordovaLib:cleanBuildCache
BUILD SUCCESSFUL in 8s
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.
/opt/NativeBuilder/builds/d8de9e6a-9a85-4daf-88f6-7c1c8eb4e761/source/platforms/android/app/src/main/AndroidManifest.xml:22:18-91 Error:
Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:5-30:19 to override.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
* 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 13s
Error: /opt/NativeBuilder/builds/d8de9e6a-9a85-4daf-88f6-7c1c8eb4e761/source/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: /opt/NativeBuilder/builds/d8de9e6a-9a85-4daf-88f6-7c1c8eb4e761/source/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java uses or overrides a deprecated API.
[2019-06-25T19:44:40.973Z] [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-06-25T19:44:40.973Z] [INFO] Remove debug/release signing properties
[2019-06-25T19:44:40.973Z] [INFO] Zipping application source...
[2019-06-25T19:45:04.056Z] [INFO] Application was not successfully generated!
[2019-06-25T19:45:04.058Z] [INFO] Execution time: 117943ms
one of your plugin is having some problems, I'm guessing https://github.com/apache/cordova-plugin-dialogs.git
As stated by Toto it could be your plugin that must be updated or the MABS version must be changed probably set to 5.0
This how you change MABS posted by Cátia in a different post
On Service Center, on the tab 'Native Platforms' of your Application you have the option 'configure', where you can change the version of MABS used to generate the app. It solved a similar problem we had.
Hope this helps ask if unsure
Klaus Geerthsen wrote:
Hmm interesting. How to set-up this MABS selector Klaus ?
What I get is this.
Toto wrote:
Hi Toto
No worries. previously you sent this for ATest. You need to give it an App identifier save and then generate once this is done the Mabs version used will be stated and the selector becomes available.
I hope that helps.
Klaus
Yes, I already give App Identifier, already success in generate apk, already install the apk on my phone.
But when I open the service center, choose the application and native build tab, there's no MABS version selector :)
Do we need to add AppIdentifier on both IOS and Android ? because I try only on Android ?
No, you only need to do Android. No idea why it is not showing because it should once the APK is generated.
Just want to update this. After discuss this with Outsystems Support,
The reason MABS not showing is because I still use version 11.0.1x
MABS selector is after this version.
Thanks
You need to generate once before this is visible.
I already configure once and created the apk, but the configuration like your's is not showing to me.
Any idea ? (this is on my personal license also on my OS partner license)
If possible can you please share your *.oml with me? That way I can have a look.
Hi,
I didn't directly get this error (we change the cordova when this happen)
But your solution looks promising (change the MABS version)
I cannot open MABS version selector, thats the question :)
Hey Toto, how you solved this issue?Can you share with us?
Tks
I'm fixing this by doing this :
1. using previous MABS (using MABS selector)
2. I download the git then change the code for the problem plugins