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.
or using cli: ./gradlew --offline assembledebugorwhatever
Comments
Post a Comment