Unable to open sync connection!

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Unable to open sync connection!

Postby woxman » Tue Aug 25, 2009 9:24 am

Hey, I get the error below from time to time when I have changed something in my app and try to upload it again to the emulator in eclipse. If I restart the emulator it works again for some while until I get this error again. Anyone else that has had this problem and know how to fix it?

[2009-08-25 10:11:22 - myApp] Failed to upload myApp.apk on device 'emulator-5554': Unable to open sync connection!
[2009-08-25 10:11:22 - myApp] Launch canceled!

Cheers
Wox
woxman
Freshman
Freshman
 
Posts: 7
Joined: Sat Aug 22, 2009 12:15 pm

Top

sync connection

Postby Alessio » Thu Sep 03, 2009 10:21 am

Hi woxman,

I had the same problem, even if with my HTC Dream, not the emulator. Occasionally, the Device view in the Eclipse DDMS would list many copies of the device, all of them Offline, and I wouldn't be able to run anything on the device if I tried to plug it back in.

What seems to fix this is running

adb kill-server

from the command line. It cleans up the list of Offline devices and allows me to run applications on the device again.

Hope it works,
Alessio
Alessio
Freshman
Freshman
 
Posts: 3
Joined: Mon May 25, 2009 1:38 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Exabot [Bot] and 7 guests