Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.io.IOException: Unable to open sync connection! in to the Nexus [duplicate]

I try my application run on eclipse but i found these errors. which is faced first time so would you please give me any ideas for these error. i am currently using Nexus mobile.

  [2011-08-04 15:59:09 - App] Android Launch!
  [2011-08-04 15:59:09 - App] adb is running normally.
  [2011-08-04 15:59:09 - App] Performing  com.horror.android.AppActivity     activity launch
  [2011-08-04 15:59:09 - App] Automatic Target Mode: using device 'HT9CRP800333'
  [2011-08-04 15:59:09 - App] Uploading Test.apk onto device 'HT9CRP800333'
  [2011-08-04 15:59:09 - App] Failed to install Test.apk on device 'HT9CRP800333': Unable to open sync connection!
  [2011-08-04 15:59:09 - App] java.io.IOException: Unable to open sync connection!
  [2011-08-04 15:59:09 - App] Launch canceled!

Why i am getting java.io.IOException: Unable to open sync connection! . Thanks in Advance.

like image 551
Horrorgoogle Avatar asked Aug 04 '11 10:08

Horrorgoogle


2 Answers

get into Settings->Development->, and try disabling 'USB debugging' and enabling the same

like image 106
Prakhs Avatar answered Oct 23 '22 19:10

Prakhs


No it is not about your code. Try to plug usb out and than plag it in again. If it is not help try to reboot you device. Usually it works for me in such cases.

like image 41
Maxim Avatar answered Oct 23 '22 18:10

Maxim