'No Gradle Tool Window in IntelliJ IDEA 13?
I can't find the Gradle Tool Window in IntelliJ IDEA 13 anymore. Is it removed?
Furthermore I can't run any Gradle Tasks within my Gradle build file (via context-menu -> Run). The error message: Module XY is not backed by gradle occurs. All these runs perfectly in IntelliJ IDEA 12.
What is going wrong here?
Solution 1:[1]
IntelliJ have certainly had trouble solving this particular problem, but as of 2018.3.6 the solution has certainly gotten better:
- find the
gradle.buildfile - right-click on it and select
Import Gradle Project
no idea (badoom tshhhh) why they've decided to do it this way, but it works, the Gradle tool window becomes available, and it has become a gradle project.
Solution 2:[2]
You can add a gradle.xml file in your .idea directory
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="$USER_HOME$/.gradle" />
<option name="gradleJvm" value="1.8.0_40" />
</GradleProjectSettings>
</option>
</component>
</project>
This should enable the gradle panel to show up.
Make sure to replace the correct paths above
Solution 3:[3]
What helped me was File > Invalidate Chaches and Restart
After restarting the gradle menu was available
Solution 4:[4]
In IntelliJ IDEA 2016.2.2 version, from main menu, try;
View->Tool windows-> Gradle
Update: For those who are downvoting, this answer gave the menu solution before the accepted answer.
Solution 5:[5]
This helped me: (In IntelliJ 2019.2.4)
- File -> Invalidate Caches/Eestart
- Right Click on your build.gradle in your Project in Project View -> At the bottom click on : Import Gradle Project
- View -> Tool Windows -> Gradle
Solution 6:[6]
What is going wrong here?
The possible reason is that GRADLE_HOME environment variable points to the wrong location.
Solution 7:[7]
see this Intellij IDEA bug and this support issue
Solution 8:[8]
It worked for me.Workaround is to close the cloned project, and then open the build.gradle/build.gradle.kts file as a project.
Solution 9:[9]
In IntelliJ 2019.3 I faced the same issue, in addition it was not recognizing Gradle projects when I imported them. I fixed it by doing this:
- Disable Gradle plugin
- Restart IntelliJ
- Enable Gradle plugin again
- Restart IntelliJ
Done!
Solution 10:[10]
I'm using Intellij 2021.2.1 Ultimate. For me the following steps worked-
- Open plugin section under Settings.
- Enable Gradle plugin.
- Restart Intellij by invalidating caches
- Let Intellij complete the indexing
That's all.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow

