How to set gradle home while importing existing project in Android studio

deniz picture deniz · Feb 8, 2014 · Viewed 363k times · Source

How to set gradle home while importing existing project in Android studio. While trying to import I need to set up this path. enter image description here

Answer

byteit101 picture byteit101 · Mar 31, 2014

The gradle plugin (which contains a bundled version of gradle) should be already installed in where/you/installed/android-studio/plugins/gradle so you shouldn't need to manually download it. Depending on the version of Android Studio, that last directory may be where/you/installed/android-studio/gradle/gradle-x.y.z (x.y.z is the version, so check your filesystem for the exact path).

If you intend on doing gradle development outside Android Studio or want a different version, you can download it separately and point it at that path, but if you only want to get Android Studio working with the bundled version, this path should do it.