5

I used Gradle Daemon to build Android project from the command line and noticed it was quite fast. But Android Studio seems a bit slow compared to the command line, so that got me wondering: Is Android Studio using Gradle Daemon to speed up builds or is something else that's slowing them?

0

1 Answer 1

3

Create a file with the name "gradle.properties" in the following directory:

- /home/<username>/.gradle/ (Linux) - /user/<username>/.gradle/ (Mac) - %USERPROFILE%\.gradle (Windows) 

And inside of it, you have to add this line:

org.gradle.daemon=true 

Furthermore, you can add the following line to improve the speed a little:

org.gradle.parallel=true 

You have more information on speed-up-gradle.

Sign up to request clarification or add additional context in comments.

6 Comments

My question is does AndStu use GradDae by default ? Or should I use what you said ?
This works for me, and it goes fast.
Did this speed up your gadle?
I was already doing this. What I wanted to know is [copy paste above]
Don't get you @Mehdiway
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.