开发者

Large Android projects - how to speed up build process?

开发者 https://www.devze.com 2023-03-29 10:04 出处:网络
I have a relatively big Android project that contains about 200-250 resources, mainly .x开发者_如何学Cml layouts. This means that when I modify and save one of them, the following rebuilding process t

I have a relatively big Android project that contains about 200-250 resources, mainly .x开发者_如何学Cml layouts. This means that when I modify and save one of them, the following rebuilding process takes about 1 min, which is damn annoying on the long run.

Could you recommend any tips that help on this matter?


Yes update to the latest Eclipse Android Plugin (ADT version 12), then go:

Window > Preferences > Android > Build > TICK 'Skip packaging and dexing until export...'

Large Android projects - how to speed up build process?

This will stop building till you export, just like it saves, knocks a few seconds off your save time when editing XML files in a large project.


Use ADT 12. Go to Preferences->Android->Build and check 'Skip packaging and dexing until export or launch'. Resources won't be compiled when you save, only when you run your project.

0

精彩评论

暂无评论...
验证码 换一张
取 消