Monaca Onsen UI Discord Chat Github Repo

Execution failed for task ':mergeReleaseResources'



  • So today i tried to recompile my app using the same plugins under the same versions, but today android failed to build. here is the build error log.

    BUILD SUCCESSFUL in 1s
    1 actionable task: 1 executed
    Subproject Path: CordovaLib
    The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
    at build_5pws6vjob1bra25uetwlq8pjg.run(/private/tmp/monaca/5c0b6435e7888536056ee5ff/project/platforms/android/build.gradle:142)
    Configuration ‘compile’ in project ‘:’ is deprecated. Use ‘implementation’ instead.
    publishNonDefault is deprecated and has no effect anymore. All variants are now published.
    :preBuild UP-TO-DATE
    :CordovaLib:preBuild UP-TO-DATE
    :CordovaLib:preReleaseBuild UP-TO-DATE
    :CordovaLib:checkReleaseManifest
    :CordovaLib:processReleaseManifest
    :preReleaseBuild
    Download https://jcenter.bintray.com/com/onesignal/OneSignal/3.8.3/OneSignal-3.8.3.pom
    Download https://maven.google.com/com/google/android/gms/play-services-analytics-license/maven-metadata.xml
    Download https://maven.google.com/com/google/android/gms/play-services-analytics-impl-license/maven-metadata.xml
    Download https://maven.google.com/com/google/android/gms/play-services-tagmanager-v4-impl-license/maven-metadata.xml
    Download https://maven.google.com/com/google/android/gms/play-services-gcm-license/maven-metadata.xml
    Download https://maven.google.com/com/google/android/gms/play-services-iid-license/maven-metadata.xml
    Download https://jcenter.bintray.com/com/onesignal/OneSignal/3.8.3/OneSignal-3.8.3.aar
    :CordovaLib:compileReleaseAidl
    :compileReleaseAidl
    :CordovaLib:packageReleaseRenderscript NO-SOURCE
    :compileReleaseRenderscript
    :checkReleaseManifest
    :generateReleaseBuildConfig
    :prepareLintJar
    :generateReleaseResValues
    :generateReleaseResources
    :CordovaLib:compileReleaseRenderscript
    :CordovaLib:generateReleaseResValues
    :CordovaLib:generateReleaseResources
    :CordovaLib:packageReleaseResources
    :mergeReleaseResources
    Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
    :mergeReleaseResources FAILED
    14 actionable tasks: 14 executed

    • postBuild -
      Build Error: Error: Sandbox Exec Error: [ /private/tmp/monaca/5c0b6435e7888536056ee5ff/project/platforms/android/res/xml/config.xml:74: AAPT: error: unbound prefix.

    /private/tmp/monaca/5c0b6435e7888536056ee5ff/project/platforms/android/res/xml/config.xml:74: error: unbound prefix.

    FAILURE: Build failed with an exception.

    • What went wrong:
      Execution failed for task ‘:mergeReleaseResources’.

    Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details

    • Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 8s
    Error: /private/tmp/monaca/5c0b6435e7888536056ee5ff/project/platforms/android/gradlew: Command failed with exit code 1 Error output:
    /private/tmp/monaca/5c0b6435e7888536056ee5ff/project/platforms/android/res/xml/config.xml:74: AAPT: error: unbound prefix.

    /private/tmp/monaca/5c0b6435e7888536056ee5ff/project/platforms/android/res/xml/config.xml:74: error: unbound prefix.

    FAILURE: Build failed with an exception.

    • What went wrong:
      Execution failed for task ‘:mergeReleaseResources’.

    Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details

    • Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 8s
    ]