Задать вопрос
  • Кто сталкивался с такой ошибкой при билде проекта на андроид?

    @r1ther Автор вопроса
    freeExec, * What went wrong:
    A problem occurred configuring project ':launcher'.
    > Could not resolve all files for configuration ':launcher:classpath'.
    > Could not find com.android.tools.build:gradle:7.5.1.
    Searched in the following locations:
    - https://dl.google.com/dl/android/maven2/com/androi...
    - https://jcenter.bintray.com/com/android/tools/buil...
    Required by:
    project :launcher

    * 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 3s
    ]
    stdout[

    > Configure project :
    Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'
    Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'build.gradle'
    Build was configured to prefer settings repositories over project repositories but repository 'flatDir' was added by build file 'build.gradle'

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

    You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

    See https://docs.gradle.org/7.5.1/userguide/command_li...
    ]
    exit code: 1
    UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <0d156b553c8447b8ae390084e615bd71>:0)
    UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <0d156b553c8447b8ae390084e615bd71>:0)
    UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <0d156b553c8447b8ae390084e615bd71>:0)
    UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <0d156b553c8447b8ae390084e615bd71>:0)
    UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <0d156b553c8447b8ae390084e615bd71>:0)
    Rethrow as GradleInvokationException: Gradle build failed
    UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <0d156b553c8447b8ae390084e615bd71>:0)
    UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <0d156b553c8447b8ae390084e615bd71>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <0d156b553c8447b8ae390084e615bd71>:0)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    Написано
  • Кто сталкивался с такой ошибкой при билде проекта на андроид?

    @r1ther Автор вопроса
    freeExec, выделенная на скриншоте
    Написано