Device going offline randomly (and appearing multiple times as offline) in Eclipse - fixes?

前端 未结 20 2136
青春惊慌失措
青春惊慌失措 2021-02-05 00:19

This problem has been bugging me for ages and I can\'t seem to fix it or fully localize the source of the problem (although at times I can force it by allowing the phone to Stan

相关标签:
20条回答
  • 2021-02-05 00:39

    I also searched high and low for a solution to this problem. The description of my problem when getting ready to compile and run my project over adb/USB:

    • I would 'Run' or Cntrl-F11, for the Android Device Chooser window to pop-up
    • plug in my Samsung Galaxy Nexus
    • the state would show Offline then Online (for varying lengths of time) then Offline again
    • my workaround has been to click fast during the window where it shows Online

    I tried reinstalling different drivers suggested by various sources, and even tried 5 different USB cables. But in the end, what fixed it was plugging the USB cable into one of the free USB sockets in the back panel of my PC, instead of the front where it's more accessible.

    However, peculiarly this problem only happens with my Samsung Galaxy Nexus (which is rooted and currently running Codename Android ROM) and not with my HTC Nexus One (running CyanogenMod). My N1 would always stay online even if plugged into the front USB panel.

    So now I'm still running the ADB drivers that come with the Android SDK, my PC is self-built (running Asus P5Q Pro motherboard <- a likely culprit here), and my OS is Win7 64-bit. And both my phones are staying Online connected to adb.

    Thus I suggest those with similar problems to try different cables and USB ports.

    0 讨论(0)
  • 2021-02-05 00:40

    Not sure if anyone will find this answer valuable, but I had a similar situation, where my device was online, and then randomly went offline. I tried things like checking the cable, adb kill-server, and so on. What finally worked for me was restarting my computer and my phone. I feel like this will only be applicable if you find that your device is suddenly offline, when it was working fine before.

    0 讨论(0)
  • 2021-02-05 00:41

    I get this problem too, sometime it helps to connect it to another USB-port.

    0 讨论(0)
  • 2021-02-05 00:41

    This is because of over stack/stack overflow. 1. Switch off and Switch on your Android Device 2. Restart your ADB server(adb -kill server and adb -start sever) 3. Check the mounted SD card and check the USB debug ON

    0 讨论(0)
  • 2021-02-05 00:42

    same problem with galaxy s2 / windows 7 / eclipse juno switch off usb debugging helps, somtimes also killing and restarting adb seams to be

    0 讨论(0)
  • 2021-02-05 00:47

    I just solved the problem by rebooting my Android phone. Hope it works for you.

    0 讨论(0)
提交回复
热议问题