Search Unity

Gradle build failing

Discussion in 'Android' started by exrotzbdo, Jul 7, 2021.

  1. exrotzbdo

    exrotzbdo

    Joined:
    Nov 4, 2019
    Posts:
    1
    Hello, my project is failing to build. The following is the error log from the build. Does anyone know what I can do to fix this? Thanks.



    FAILURE: Build failed with an exception.
    * What went wrong:
    Could not determine the dependencies of task ':launcher:compileDebugJavaWithJavac'.
    > Could not resolve all task dependencies for configuration ':launcher:debugCompileClasspath'.
    > Could not resolve project :unityLibrary.
    Required by:
    project :launcher
    > Unable to find a matching configuration of project :unityLibrary: None of the consumable configurations have attributes.
    * 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 5m 13s
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8