Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

How to set --stacktrace option in Monaca.io ?



  • I am tired of this error without any details. Can anybody help me how to set --stacktrace option for detailed debugging trace ? Thanks.

    [16:20:42] See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
    [16:20:42] 18 actionable tasks: 18 executed
    [16:20:42] FAILURE: Build failed with an exception.
    [16:20:42] * What went wrong:
    [16:20:42] Execution failed for task ‘:app:mergeDebugResources’.
    [16:20:42] > A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
    [16:20:42] > Resource compilation failed. Check logs for details.
    [16:20:42] * Try:
    [16:20:42] 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.
    [16:20:42] * Get more help at https://help.gradle.org
    [16:20:42] BUILD FAILED in 16s
    [16:20:42] Command failed with exit code 1: /tmp/download/platforms/android/gradlew cdvBuildDebug -b /tmp/download/platforms/android/build.gradle