Unnable to refresh any Gradle project
Answered
Environment: IDEA CE 2017.2 on Mac OS 10.10.5
Everytime I try to refresh any Gradle project, it reports failure:
Messages Gradle Sync
Gradle 'bms' project refresh failed
Error:The specified project directory '/Users/dhu/IdeaProjects/bms' does not exist.
(bms was a standalone web project I deleted last year, I don't know why it affects other projects.)
The problem lasted for almost 1 year across several IDEA versions.
I tried deleting .idea project files and re-import the project. I also tried upgrading IDEA, upgrading Gradle or deleting IDEA preferences under ~/Library/Preferences.
None works.
I have to write a post for help. Thanks!
Please sign in to leave a comment.
Deleting project files should have helped. It's not clear why you still have this problem. Please file an issue at https://youtrack.jetbrains.com/issues/IDEA and attach the logs (https://intellij-support.jetbrains.com/hc/articles/207241085) and the sample project to reproduce.