So, in my case, I had a multi-project environment, what I had to do to get it working was to delete the absolute paths from the settings.gradle file to the root directory (dir containing all the projects), and then to build.gradle I had to remove the absolute directories to compile the statuses and make sure I used: {project_name} instead of .. / {poject_name}
I understand that my situation was a little different, but if you download gradle and use the --debug switch, you should find which files have problems, and this is most likely a path problem.
source share