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 build
Removing the device from USB & then re-connect.
Does it help if you clean your project (menu 'project'-> clean) and does that help?
This might be something that's a part of the slowness, although it doesn't explain why it's quick after a new import, and then slows down: Android compilation is slow (using Eclipse)
Under top menu item Project->Build Automatically uncheck the option, then you'll have to build project manually before testing, just select Project->Build Project then Run after build completes.
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.
Increasing Xms
and Xmx
parameters in eclipse.ini
worked for me:
Original values:
-Xms40m
-Xmx768m
New values:
-Xms256m
-Xmx1024m