Tuesday, July 24, 2012

Launch Error: Failed to connect to remote VM in Android

When I tried to launch the application on my device I kept getting this error,

Launch Error: Failed to connect to remote VM. Connection timed out

The normal searches for this will yield results, that ask the user to either restart eclipse or kill all the adp processes.

A more simple solution for this is to change the connection port. So what I did is that I went to eclipse Window > Preferences > Android > DDMS and change the port number. I changed it to 8601 and its working without a hitch.

Hope this helps.

1 comment :

Neelam Goyal said...

1. Close Eclips
2. Dissconnect USB
3. go to taskmanager
4. endtask of eclips.exe,adb.exe and java
5. ReStrat eclips
6. Reconnect USB