Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Cannot build for android. Could not resolve all artifacts for configuration.

Discussion in '2020.1 Beta' started by SurprisedPikachu, Apr 4, 2020.

  1. SurprisedPikachu

    SurprisedPikachu

    Joined:
    Mar 12, 2020
    Posts:
    84
    I installed Unity 2020.1b4 through Unity Hub with Android Support + OpenJDK. I'm using Android SDK that I have previously downloaded with Android Studio.
    When I try to build, it fails with 103 errors. It seems that it cannot find gradle files. One of the errors:
    > Could not find gradle.jar (com.android.tools.build:gradle:3.4.0).

             https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.4.0/gradle-3.4.0.jar


    When I open the url in my browser, I can successfully download the file.