Obsolete
Status Update
Comments
ya...@gmail.com <ya...@gmail.com> #2
log from completely compiling:
gradle-idea-complete-compile-log.txt
log from incremental compiling:
gradle-idea-incremental-compile-log.txt
gradle-idea-complete-compile-log.txt
log from incremental compiling:
gradle-idea-incremental-compile-log.txt
bi...@gmail.com <bi...@gmail.com> #3
Any update here?
ol...@gmail.com <ol...@gmail.com> #5
gradle is so slow so the emulator has enough time to start, loughing out loud.
co...@gmail.com <co...@gmail.com> #6
Gradle isn't just slow. It also doesn't support incremental builds. This puts it a step backwords from the earlier versions of 'make' (originally released in 1977). The toolchain folks are just cutting corners it seams.
je...@google.com <je...@google.com>
je...@google.com <je...@google.com> #7
AGP is entirely incremental at this point, build speed improved a lot (and will continue)
Description
Android Plugin Version (File -> Project Structure, Project):
classpath 'com.android.tools.build:gradle:1.1.1'
SDK Version: “Android SDK Tools” Rev. (Tools -> Android -> SDK Manager) : 21
Module Compile Sdk Version (File -> Project Structure, Your Module): 21
Module Build Tools Version (File -> Project Structure, Your Module): 21.1.2
I am trying to mirrate a project from (eclipse + Ant) to (Android Stdido + Gradle),everything goes well,but copimling is so slow!!!
The project has Over 65K Methods,so i have add Multidex.The structure is as follows:
app,module A,module B,module C,module D,module E,module F.
My laptop is hp ProBook 430.
Disk: Samsung SSD 840 Pro 256G
Memory: 12.0 GB
I execute the command:
./gradlew assembleDevelopDebug --info
for completely compiling:
:***_module_main:dexDevelopDebug (Thread[Task worker Thread 3,5,main]) completed. Took 1 mins 47.907 secs.
Total time: 4 mins 16.198 secs
for incremental compiling: (i just delete one line code)
:***_module_main:dexDevelopDebug (Thread[Daemon worker Thread 4,5,main]) completed. Took 1 mins 36.453 secs.
Total time: 3 mins 0.863 secs
My problem is :
Why Gradle is so slow? Whether or not incremental compiling.
Especially execute the task dex...