Android Studio used to get more comfortable, but found that the speed of the build is not a compliment, in Google and degrees Niang a few (.... After that, the overall allocation of higher memory, step:setting--> search Gradle-->build tools under the Gradle option, the right gradle VM options--> parameter-xmx2048m-xx: maxpermsize=512m
And one is to add two lines to the gradle.properites.
Org.gradle.parallel=true
Org.gradle.daemon=true
Does the above really have ascension? I do not know, anyway build speed is still 3 minutes up and down, this is completely unacceptable, build can next a high-definition AV, hard disk is almost full, but also add hard disk, this month's food quality to drop, to thin out 8 abs ....
Well, the above is nonsense, how to build at lightning speed, set offline compilation is OK, like this:
Set the speed before
After setting the speed
That's called Ascension, OK?
Gradle build Speed accelerates the Ultimate method (Android Studio)