D
D
Daniil Miroshnichenko2015-01-14 00:37:12
Android
Daniil Miroshnichenko, 2015-01-14 00:37:12

How to increase compilation speed of Gradle project (Android)?

Not long ago, I started using the Gradle builder in Android projects. I develop in Intellij Idea.
Compilation takes a very long time. The last time this process lasted 9!!! minutes. Moreover, such slowness occurs only in cases where errors occur during compilation. If all is well, the compilation speed is better (but still noticeably slower than in a normal project).
Just in case, I say that the project is not big: 2 activities, a service and five classes. The facebook sdk is also connected.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Dolgih, 2015-05-13
@olegvarmy

try building with --offline. This is most likely due to the fact that with each build, gradle starts to resolve dependencies.

O
Oleg Gamega, 2015-01-14
@gadfi

Do not use a rake)) ssd should even out the situation a little, but not by much, just don't use it)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question