Monday, November 30, 2015

Speed Up Gradle build on Ubuntu

If you find yourself frustrated with the time it takes for Android Studio / Gradle to build your fancy application, here's what can help you out:

-Make sure you have a simple file called gradle.properties located  at /home/{YOURUSERNAME}/.gradle/

-Make sure this file contains these two lines:
org.gradle.daemon=true
org.gradle.parallel=true

Maybe you'll need to restart in order for it to have full effect, but it should be worth it.


No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...