Reduce Gradle sync time in Android studio -


i'm using mac 16gb memory, ssd hdd , still gradle sync takes 15mins+ every time build, clean or open project, there android studio optimisations possible reduce time.

you're using + symbol on libraries added project (and have slow internet connection). example: compile 'com.android.support:support-v4:+'

this make on every sync() gradle check online if there's new version. if change specific version number, example: compile 'com.android.support:support-v4:22.2.0'

then gradle use cached version been downloaded development machine.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -