Android adb “Unable to open sync connection!”

前端 未结 18 2297
小蘑菇
小蘑菇 2020-12-07 09:21

I can run and debug my Android app on my phone just fine, most of the time. Then, seemingly randomly, when I try to run or debug my app from Eclipse, the Console in Eclipse

18条回答
  •  不知归路
    2020-12-07 09:52

    I see this problem regularly in both attached devices (Phone or Tablet) and even the emulators. I noticed that the problem often follows periods of inactivity (after a lunch break for example). It may be that the Operating System on the development machine is trying to conserve resources and adb just isn't all that JIT friendly. On windows I have to close the IDE and open Task Manager and force stop (kill) adb, then relaunch Eclipse. This always works for me...

    • I noticed if I set a higher priority in task manager for adb, this problem is greatly reduced--although it can still happen.

提交回复
热议问题