Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid the "User Operation is Waiting" dialog come out in Eclipse/ADT

enter image description here

As shown in the image, when I'm developing Android applications with auto build, sometimes this dialog will show. Is there any way to avoid this and make it just go through the process in the background?

It does not always show, but when it does, I need to wait for it for 5-10 seconds. That's annoying, especially considering that when the project gets bigger, it will go much slower.

UPDATED: I did some researching:

Android compilation is slow (using Eclipse)

Android: eclipse workspace takes a long time to build?

http://groups.google.com/group/android-developers/browse_thread/thread/a16202975510de39

http://oae9.wordpress.com/2011/03/22/android-workaround-for-slow-building-workspace-problem-in-eclipse/

http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html

Is it there any easier solution that is not using ANT? Or any other best ANT script that can be applied easily?

like image 465
temple Avatar asked Nov 04 '22 16:11

temple


1 Answers

How about you just uncheck the "Build Automatically" option. This doesn't speed the build process, but doesn't do it everytime you save a file.

You will still need to do a build that takes a bit of time - but you will only do it when you really want to compile your project (not everytime you make a change to the code).

like image 137
Booger Avatar answered Nov 12 '22 14:11

Booger