Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Speed up Android project build time in IntelliJ IDEA

I am wondering, if there is any way, how to set skip packaging and dexing in IntelliJ IDEA like in Eclipse and ADT. There is Additional VM Options field in Android DX Compiler section in IntelliJ Preferences, maybe this could be a way, how to set it. I would also appreciate another tips, how to speed up IntelliJ Android project build.

like image 836
sealskej Avatar asked Nov 11 '12 21:11

sealskej


People also ask

Is Eclipse faster than IntelliJ?

However, Eclipse handles the large projects faster as compared to IntelliJ Idea because it indexes the entire project on start-up. But, when you are working on an existing project, IntelliJ Idea works faster and smoother as compared to Eclipse.


1 Answers

I'm using IntelliJ 12. I've won time deploying and running Android apps enabling IntelliJ to "Make project automatically". To enable it, just go to Preferences -> Compiler and check "Make project automatically". In the same window check "Compile independent modules in parallel".

Enabling "Make project automatically" allows you skip "Make" task before an Android application launch. You can remove it in "Run/Debug Configurations", selecting your Android Application and removing "Make" task in "Before launch" section.

like image 61
Jake Andreu Avatar answered Sep 23 '22 22:09

Jake Andreu