简体   繁体   中英

IntelliJ Idea opens gradle folder instead of the project

I'm trying to import a GitHub project, specifically, this one : timtiemens/secretshare using IntelliJ Idea.

The git import works fine, at which point the IDE builds the project using gradle, which works fine.

However, when I actually open the project, only the gradle directory in the project is opened, ie, .../secretshare/gradle. The other directories, like src, are just not there in the IDE, even though they're present in the project folder - I can see them with explorer.

Just Delete the idea files created by inteillj

Run gradlew idea

Open the project again and choose use gradle wrapper settings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM