Unable to make the module: related gradle configuration was not found. Please, re-import the Gradle project and try again

user1339 picture user1339 · Jan 28, 2015 · Viewed 74.8k times · Source

I use IntelliJ IDEA Ultimate 14 and Gradle 1.2. I manage the project from the console, but I need to debug some of the code from the IDE.

When I try to make the project, this error window appears. When I try to debug the project,

Error: Unable to make the module: idappcli, related Gradle configuration was not found. 
Please, re-import the Gradle project and try again.

is written in the message window. How can I add the regular output paths to the project?

Answer

Pierpaolo Follia picture Pierpaolo Follia · Jan 29, 2015

Try by opening the gradle task view and then click the refresh button. For me it solved the problem.