Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNatyra Mullafetahu
365 PointsIt is currently in use by another gradle. I get an error refreshing the gradle after I added the classpath. HELP
I get an error refreshing the gradle after I added the classpath.
I get these errors: dependencies cannot be applied to groovy.lang.Closure
Timeout waiting to lock_cp_proj class cache for build file \build.gradle .It is currently in use by another gradle
Any help ?
1 Answer
David Dill
3,956 PointsI'm surprised you haven't been answered. I had the same problem. In Windows I had to remove everything from C:\users<my profile folder>.gradle\caches
At first it would not allow me to do that, so I had to kill every task that said 'Java'.
After that I did have to refresh "Gradle projects" and then everything worked just like the video shows.