Why Android Studio rebuilds project so slow even when no changes in sources? -


when make changes in source code, android studio (actually gradle) has rebuild project. it's clear.

why second build takes same amount of time first build, if didn't make any changes in project? when gradleconsole waits on "assembledubug" task. think gradle should aware there's no changes , shouldn't waste time on it.

finally, found solution: turn on offline work gradle.

enter image description here

or using cli: ./gradlew --offline assembledebugorwhatever


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -