Android studio 3.5 doing gradle build for every debug session

114 Views Asked by At

Every time when we try to debug an app or attach to the running process android studio is triggering a gradle build. Is there any way to stop this?

1

There are 1 best solutions below

2
On

It is supposed to build app in order for you to do any debugging. Your files need to be bbuilt from the plain java files to something that can be compiled and understood by the system. YOu can't debug code that has not been built by gradle.