Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: eclipse workspace takes a long time to build?

My eclipse workspace has just one android project in it and is set to "build automatically". Every time I make a change to some code, and save the change, the workspace builds. Initially this is fine, but at some point the builds start to take about 5 seconds for every change. At this point, I create a new workspace and import the project, and everything works great for a while (days or weeks), but inevitably it slows down again. Has anyone else experienced this and/or have a solution?

like image 590
ab11 Avatar asked Jan 04 '11 17:01

ab11


People also ask

How do I fix the hanging user operation is waiting for building workspace in Eclipse?

This method worked for me: Go to menu 'Project' -> uncheck 'Build Automatically'. Force close Eclipse then reopen it.

What is building workspace in Eclipse?

It means Eclipse is rebuilding every relevant project in your namespace.


1 Answers

You can try in Eclipse:

Window - > Preferences - > Android -> Build -> Skip packaging and dexing export or launch.(Speeds up automatic builds on file save)

And

UnMark : Project - > Build Automatically

And you can also complete with :

Window - > Preferences - > General -> Workspace - > Linked Resource - Enable linked resource (unmark) try only if your project not have resources from other project.

For me stoped building slow process after every save.

like image 58
Felipe FMMobile Avatar answered Nov 15 '22 14:11

Felipe FMMobile