Gradle Wizard is disabled

Answered

I used to work with gradle projects for awhile using IntelliJ. However, first time I attempted to import a new Gradle project after the last upgrade (2019.2.3) I noticed that the gradle icon is grayed out in the list of supported external models. So, if I pick Gradle for the import external model, the only button I see in the dialog is "Finish", while with other external models there is "Next" button:

If I remember correctly, in the past it used to be Next button as well and I could choose options for the project import. If I click the Finish button, there is a small pop-up with what seems to be a progress bar but it disappears so quickly that I can't even say what it is. After the import nothing happens. 

Do you have any ideas about what happened to the gradle wizard and, even more important, how to fix it?

0
3 comments

Which directory did you choose when clicking on Import Project?

What macOS version do you use? Does the workaround from https://youtrack.jetbrains.com/issue/JBR-1721 help?

If you point IntelliJ IDEA to build.gradle file, it should import automatically without displaying this choice dialog.

0
Avatar
Permanently deleted user

Sergei,

I chose the directory, which contains build.gradle. 

Mac version is 10.14.6

I tried to choose build.gradle in the file chooser and the effect was the same - no project import happened. 

I tried the workaround and it still does not work. However, if I copy .idea directory from a similar project into the project I'm trying to import and then open the project. Then I can refresh the gradle project or re-import it. Then it works. I wonder, if it's something with the gradle plugin config. 

0

Please report at https://youtrack.jetbrains.com/issues/IDEA with the sample build file and the logs attached: Help | Compress Logs and Show in ...

0

Please sign in to leave a comment.