Неоднозначная перегрузка метода для метода java.io.File # <init> - PullRequest
0 голосов
/ 12 ноября 2018

Я получаю следующее сообщение об ошибке. Я работал с моим существующим модулем, теперь он выдает ошибку, путь sdk правильно настроен в файле свойств. Я перестроил и очистил проект, но не получил решение.

    FAILURE: Build failed with an exception.

* Where:
Script 'url -script' line: 30

* What went wrong:
A problem occurred evaluating script.
> Ambiguous method overloading for method java.io.File#<init>.
  Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between:
    [class java.lang.String, class java.lang.String]
    [class java.io.File, class java.lang.String]

* 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 33s
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...