I have just migrated from eclipse and now using android studio for development. The build time for my app exceeds more than 15 minutes and I don't know why. This, compared to my previous eclipse build is far far slow. I don't know if I'm doing this the right way. I'm using a Dell Inspiron Laptop with intel i3 processor , 4GB RAM . The memory usage of AS is approx 1100 Mb
I have tried the following: -> using
dexOptions {
incremental true
javaMaxHeapSize "4g"
}
-> using
org.gradle.parallel=true
org.gradle.daemon=true
I'm using 3 support libraries namely appcompat, cardview, design
on running the application, most time is spent doing the task assembleDebug.
I'm not sure if its relevant but I'm using GenyMotion Emulator to debug.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.