Kheiro Ok
Kheiro Ok

Reputation: 37

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.

Upvotes: 4

Views: 13909

Answers (1)

kartikag01
kartikag01

Reputation: 1579

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

Upvotes: 9

Related Questions