Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio gradle home path

Hi friends i want to set gradle home path in android studio. https://stackoverflow.com/a/22753291 according to this answer there should be a gradle folder in android studio folder . But i don't have it can anyone please tell me why. enter image description here

like image 362
Manu Avatar asked Dec 19 '25 21:12

Manu


2 Answers

The Gradle plugin is only a support system for android to get used to gradle, especially in your case you have to set GRADLE_HOME in your system environment variables. https://developer.android.com/studio/releases/gradle-plugin

But usally there would be a gradle wrapper if you haven't installed gradle, it should be inside your project folder. you can use it by calling gradlew inside your project folder.

So you have to download Gradle and install it.

then set the GRADLE_HOME variable if not set. https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/

I would not suggest setting the gradle home inside your android studio folder.

like image 76
LKSoftware Avatar answered Dec 21 '25 10:12

LKSoftware


You can find it inside the plugins folder

like image 31
Lahiru Lanka Rathnayaka Avatar answered Dec 21 '25 11:12

Lahiru Lanka Rathnayaka



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!