Saturday, February 18, 2012

Eclipse ADT: 'Unable to open sync connection!'

Sometimes, you get this wierd looking error on eclipse while working/developing on your phone.
[2010-10-12 09:36:48 - myapp] java.io.IOException: Unable to open sync connection!
[2010-10-12 09:36:48 - myapp] Launch canceled!

You have tried the following (but in vain!):
1. Disconnecting/connecting the USB cable.
2. Restarting eclipse.
3. Restarting adb daemon.
4. Restarting your computer!


Even after this if the problem persists. Just disable/enable 'USB debugging' on your phone.
This should most of the times solve this issue.