When I make some changes in source code, Android Studio (actually gradle) needs to rebuild the project. It's obvious.
Why the second build takes almost the same amount of time like the first build, even if I haven't made any changes in the project?
When I look into GradleConsole it waits on "assembleDubug" task. I think gradle should be aware there're no changes and shouldn't waste so much time on it.
Answer
Finally, I found the solution: turn on Offline work for gradle.
or using CLI:
./gradlew --offline assembleDebugOrWhatever
No comments:
Post a Comment