Answer the question
In order to leave comments, you need to log in
What is the normal build speed for an Android app?
Tell me, is building a project for 3-5 minutes after changing each line of the project in Android is a normal practice in the Android world? I mostly work in Java Server Side development where it takes 5-10 seconds to rebuild and it seems very strange for our Android team to wait 3-5 minutes after changing one line. Using Android Studio 2.1.1 and Gradle 2.1.0
Answer the question
In order to leave comments, you need to log in
Firstly, in Android Studio, starting from version 2.0, Instant Run mod appeared, read more about it, it allows you to upload changes almost on the fly, without rebuilding the project.
Secondly, if you have multiDex enabled in the build file (multiDexEnabled true), then you can increase the hip size for this, in the android block of the module build file, add:
dexOptions {
incremental true
javaMaxHeapSize "4g"
}
Better tell me the configuration of the computer on which you build.
Ubuntu 16.04
AMD FX(tm)-8350 Eight-Core Processor
16GB RAM
SSD KINGSTON SH103S3120G-NV
8GB RAM allocated on gradle
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question