Gradle project refresh failed after Android Studio update

s0nerik picture s0nerik · Nov 9, 2013 · Viewed 115.4k times · Source

Here's the output:

11:57:04 AM Gradle 'KeddreaderProject' project refresh failed: Cause: org.gradle.internal.service.ServiceLocator.([Ljava/lang/ClassLoader;)V:

I've tried to remove .gradle folder, but it doesn't help. What can be the problem?

Edit: I get this error even when I try to import any other project on Ubuntu 13.10. But on Windows everything works (with the the same version of Android Studio) well.

Answer

Darius picture Darius · Nov 21, 2015

Check the Gradle home path after the update to version 1.5. It should be ../gradle-2.8.

enter image description here