How to set gradle home while importing existing project in Android studio. While trying to import I need to set up this path.
For Ubuntu default version is /usr/lib/gradle/default
.
In case of update, you don't need to reassign link in idea/studio.
If you are on windows machine, go to the directory C:\Program Files\Android\Android Studio\gradle\ and click the gradle folder and apply it on
On Arch Linux I could not find it, so I added:
echo $APP_HOME
to /usr/bin/grade (found over which gradle
)
The Install dir for me was /usr/share/java/gradle/
I ran into same problem. I selected location C:\Program Files (x86)\Android\android-studio\plugins\gradle as Gradle Home
I am using Lubuntu, I ended up finding it in :
/usr/share/gradle