Answer the question
In order to leave comments, you need to log in
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
try building with --offline
. This is most likely due to the fact that with each build, gradle starts to resolve dependencies.
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 questionAsk a Question
731 491 924 answers to any question