Eclipse Hangs in DDMS post-create init
Solution 1
I had this problem, it was due to the presence of the file .lock
in the .metadata
folder of my workspace.
I don't know if this is your problem, but closing eclipse and deleting the .metadata\.lock
file from your workspace, worked for me.
Solution 2
I was having the same issue, but used a variety of the methods above to fix it. For my project, I have the main project stored in a separate folder, and my test project in the workspace. (Don't ask me why, that's just how it is).
I also had an adb process running.
My folder structure looks like:
- droid-project
- .metadata
- .lock
- workspace-with-test-projects
- .metadata
- .lock
Solution:
- Kill Eclipse
- Kill the adb process
kill <adb process #>
- Delete both .lock files
rm .lock
- Restart Eclipse
Solution 3
I solved this:
- Deleting the .lock files
- Unplugging my phone from the USB.
Solution 4
What worked for me..
- close eclipse
- delete ~/...workspace/.metadata/.lock
- empty trash
- kill eclipse related processes (ps -ef |grep eclipse and kill...)
- cd ~/...Eclipse.app/Contents/MacOS and..
- run in terminal... ./eclipse -clean -refresh
Solution 5
What worked for me with the same trouble (eclipse 3.7, ubuntu 11.10):
- close/kill eclipse
- delete the .lock file from .metadata as mentioned by kekoa
- restart the computer
- start eclipse with "eclipse -clean"
Pawan
Updated on June 06, 2022Comments
-
Pawan about 2 years
From last two days, eclipse started showing wired behaviour. Its goes in infinte process of DDMS post-create init, And if i try to run the application then Eclipse got hanged. I have tried to install from scratch with eclipse 6.2 and eclipse 7.0, but No luck. Is anybody else facing this problem, and got any solution then please share with me.