Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force to stop Gradle Build Running in Android Studio

When I run an app with Android Studio, the build takes a lot of time to execute, after few minutes, I decide to stop precess, but nothing happened. Is there a way to kill Gradle process? Thank You.

like image 205
Kheiro Ok Avatar asked Oct 14 '25 07:10

Kheiro Ok


1 Answers

you can call ./gradlew --stop in a Terminal and it will kill all grade processes

It requires admin permission run this for permission before first command

$ chmod +x gradlew

OR

click left most button in image below which came in Android Studio 2.2

Android studio tool bar screen shot

like image 61
kartikag01 Avatar answered Oct 17 '25 02:10

kartikag01



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!