Importing gradle project in IntelliJ

前端 未结 4 1687
别那么骄傲
别那么骄傲 2020-12-19 07:17

I have IntelliJ 12.0 on and gradle 1.2. on Windows 7. When I try to import a build.gradle file I get the following error message in IntelliJ. I am a bit lost here. Any ideas

4条回答
  •  生来不讨喜
    2020-12-19 07:54

    my fix: File -> Project Structure -> change the jdk path to not have jre.

    I'm not sure how it got there, but it took me forever to track down. Perhaps because it picked up settings from a previous bad install.

提交回复
热议问题