I have a multi-project (~10 modules) of which building takes about 20-30 seconds each time. When I press Run in Android Studio, I have to wait every time to rebuild the app,
Solved mine with
File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Offline work
File -> Settings -> Build, Execution, Deployment -> Build Tools ->
Gradle -> Offline work
Gradle builds went from 8 minutes to 3 seconds.