The following measures were taken to speed up gradle build from this (SO post)
- org.gradle.parallel=true, org.gradle.daemon=true
- build from terminal and not from android Studio
- building with ./gradlew assembleDebug --offline
Problem:
- Even after these measures build times can take upto 6-8 minutes for a single line of code change! and during this time computer mostly freezes and nothing else can be done except to stare at the terminal. I've noticed that "app:dexDebug" takes a lot of time in this. What are the possible causes?
Relevant files:
System details:
- Android Studio 1.2.2
- Description: Ubuntu 14.04.2 LTS