This is my solution how to speed up building gradle processes without running it in console.

There are two steps:

1. adding option to run parallel and offline

2. don’t allow download new versions using libs (especially when you build few times per minute – it is not necessary to check every time).

So first go to Android Studio settings page, and then to:

[java]Build, Execution, Deplyoment > Build Tools > Compiler[/java]

and paste into

[java]Command-line Options[/java]

this

[java]–parallel –offline[/java]

Zrzut ekranu 2015-09-21 09.42.48

Next step, go to:

[java]Build, Execution, Deplyoment > Build Tools > Gradle[/java]

and check <pre>aaa</pre>

[java]Offline work[/java]

option.
Zrzut ekranu 2015-09-21 09.46.43

Difference will beĀ  noticeable.

sorsare

By sorsare

Leave a Reply

Your email address will not be published. Required fields are marked *




Enter Captcha Here :