Reputation: 548
I'm using Eclipse to develop Android apps. I'm using the latest SDK and Eclipse 3.6, my computer is macbook air with 4GB of ram.
Everytime I change a resource file ( an XML layout for example ), it takes eclipse between 1mn and 2mn to actually rebuild the binary and deploy it. My binary is about 10M ( it's a game with lots of bitmaps ).
It's very hard to program with such high response times, any way to make it shorter ?
Upvotes: 7
Views: 3804
Reputation: 40380
ADT 14 will solve this.
http://tools.android.com/download/adt-14-preview
Upvotes: 0
Reputation: 96
They are fixing this problem and it's available in ADT 12.
http://tools.android.com/download
http://tools.android.com/recent/finercontroloveradtbuildprocess
Upvotes: 3
Reputation: 5022
If you have a lot of graphics you might want to read this android-dev post. aapt optimizes pngs during a build (perhaps unnecessarily so) but only if the extension is .png (case sensitive). Renaming them to .PNG skips the optimization step but the images are still useful when referenced.
Upvotes: 10
Reputation: 1202
Remove the check Build Automatically in Project menu, in this way you are not continously compiling. In Android resources are highly optimized so compilation in an application like your can take time.
You can manually compile when you have done significant changes.
Upvotes: 1
Reputation: 15357
Are you using maven or such? Eclipse + Maven both have a builder, and they tend to fight a lot if both are enabled.
(honestly the best answer is use Intelli-J, and everything will magically work, but I doubt you want this answer).
Upvotes: 1