Error "could not fetch model of type 'BasicIdeaProject' using Gradle distribution" in Windows? Error "could not fetch model of type 'BasicIdeaProject' using Gradle distribution" in Windows? windows windows

Error "could not fetch model of type 'BasicIdeaProject' using Gradle distribution" in Windows?


From the "Ideaj Quick Start" select "Configure"->"Project Defaults"->"Project Structure"

From there in the popup that follows, select "SDKs" -> (under Platform Setting on the left) and make sure that the locations of your 1.6 and 1.7 are correct (I was off by an update apparently)


I faced the same error and checked project structure several times. Everything was just fine. I started facing this error after upgrade from intellij 14.0 to 14.1.1. The solution worked for me is following, pasting it here so that other can be benefited from it too.

Go into the jre file and if you find another jre file inside it. Move the files in that other jre to the first jre file and everything should work just fine. When move just don't delete anyfile for example the lib folder is also persent inside and outside of JREs; outside one has tools.jar that probably might be needed. So complete copy without replace should work just fine.

I feel it is bug in intellj when you upgrade the version it messes up with configuration.

I hope this helps others.