Answer the question
In order to leave comments, you need to log in
How to increase build speed of android app?
Today I wrote my hello world for android.
I'm using Android Studio 1.1
First, some dependencies on gradle were resolved.
Then the virtual device was launched. The first build happened in 8 minutes....
I changed the size, the position of the inscription "hello world" by a couple of pixels, I pressed RUN to check the result.
Voila... 4 minutes.
4 minutes to restart tiny changes in the program. During this time, I managed to drink coffee.
Question: Is this normal?
"it" will always work like this? Or is there something wrong with me?
Those who write for android, share your experience, please!
Answer the question
In order to leave comments, you need to log in
You can speed up the build if you enable offline mode for gradle: Preferences... -> Compiler -> Gradle -> Offline mode.
Android Studio already uses the Gradle Demon by default - it won't get any faster.
It is necessary to buy a bowl faster and put SSD'shny RAID.
Don't turn off the virtual machine and you won't have to wait five minutes. x86 image is much faster than ARM.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question