Gradle in Idea throws the following error.

Gradle 'week1' project refresh failed Error:Нет такого файла или каталога 

Gradle latest version downloaded from. site (2.12). Ubuntu OS 15.10. Idea 2016.1.1. All set, variable GRADLE_HOME too. How to install and register looked in guides and articles.

through apt-get install gradle also installed, prescribed a gredl home for it, but the idea wrote that the wrong directory for the gredl. (despite the fact that the gredl himself established this way normally and answered gradle -v normally and jdk saw the right one)

I thought I might still have some rights I tried to unpack the downloaded archive into my home directory - also in vain. help pliz.

    1 answer 1

    The problem was not with Gita as a whole, but with his integration into the Idea. In the settings of the gredla in the idea of ​​the service derectory path , the wrong one was indicated. I specified /home/den/.gradle (where den is the username in Ubuntu) and it worked.