otak info official Logo   
Personal Blog

Hariyanto Lim

정길상 / 鄭吉祥
Home   Last Posts  
Please login to see more topics and discussion categories.
goto main category list >> Software programming >> Android

Title : Tip to fasten up AndroidStudio compile and processes time
Total Reply : 0
Total View : 1907

Total thread: 131
Total reply: 50

Post #176
Tip to fasten up AndroidStudio compile and processes time
REFERENCE: https://tausiq.wordpress.com/2015/02/24/android-speed-up-gradle-build-process-in-android-studio/

Modify or create a file named gradle.properties in the following directory.

For Mac,

For Linux,

For Windows,


# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects


# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
Falling in love with the world

Write : 2016-06-21 12:05:53

If you want to create a new reply then please login first.

Since 19 January 2007
Page hit : 688,073

Code update 24th June 2013
Brain is a very capable to solve big problems
but requires constant reminders about how to.
peace bird