Eclipse Hangs in DDMS post-create init

15,578

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:

  1. Kill Eclipse
  2. Kill the adb process kill <adb process #>
  3. Delete both .lock files rm .lock
  4. Restart Eclipse

Solution 3

I solved this:

  1. Deleting the .lock files
  2. Unplugging my phone from the USB.

Solution 4

What worked for me..

  1. close eclipse
  2. delete ~/...workspace/.metadata/.lock
  3. empty trash
  4. kill eclipse related processes (ps -ef |grep eclipse and kill...)
  5. cd ~/...Eclipse.app/Contents/MacOS and..
  6. run in terminal... ./eclipse -clean -refresh

Solution 5

What worked for me with the same trouble (eclipse 3.7, ubuntu 11.10):

  1. close/kill eclipse
  2. delete the .lock file from .metadata as mentioned by kekoa
  3. restart the computer
  4. start eclipse with "eclipse -clean"
Share:
15,578
Pawan
Author by

Pawan

Updated on June 06, 2022

Comments

  • Pawan
    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.

    enter image description here