English 中文(简体)
在装置铺设之后,为什么会拒绝返回?
原标题:Why does adb return offline after the device string?

I use "adb devices" to get following result. Only one device is connected to PC by USB, but we get 8 lines of result.

是否有人提出理由?

WH96TNE00361    offline
WH96TNE00361    offline
WH96TNE00361    offline
WH96TNE00361    offline
WH96TNE00361    offline
WH96TNE00361    offline
WH96TNE00361    offline
WH96TNE00361    offline
问题回答

如下:

  1. Unplug the usb and plug it back again.

  2. Go to the Settings -> Applications -> Development of your device and uncheck the USB debugging mode and then check it back again.

  3. Restart the adb on your PC. adb kill-server and then adb start-server

  4. <<>Restart>/strong> 您的装置并再次尝试。

为了完成先前的回答,另一个可能的解决办法是改变你电缆铺设的USB车面。

I had this problem (with the classical answer about using adb kill-server / start-server not working) and it solved it.

实际上,需要一些时间才能发现,因为Windows在我的第一卷中正确地承认了这一装置。 但非亚行。 由于Windows正在确认该装置,我实际上没有必要测试其他USB的体积。 我本应该这样做。

So you can try to plug the cable in all your USB physical sockets directly available on your computer. It did worked for me. Sometimes the USB sockets are not managed the same way by a computer.

从< Andersstrong>4.2.2开始,你必须在您的装置上确认,该装置正附属于一个可信赖的计算机。 它将使用1.0.31及以上版本。

 adb kill-server
 adb start-server

解决我的问题

I ve had a similar issue with one of my phones. I was unable to connect and use usb debugging on any of my computers. In the end, I had to restart the usb debugging on the phone manually [doing so using the Developer menu was not enough].

只有一个指挥员必须用你的电话接听[我用<条码>定期发送<>条码>。

这就是说。

希望有助于未来的人。

http://developer.android.com/tools/help/adb.html。

更换装置。 这总是将它保留在澳门特区,而adb death-server则不适用。

关于我的Galaxy Nexus with 4.2.2,我最初也存在同样的问题,用燃烧装置显示器具,但具有脱线状态(USB debugging最初在我的装置上活跃)。

这些是我为纠正这种情况而采取的步骤:

  1. Disable USB debugging (Device not connected to PC)
  2. Re enable USB debugging
  3. Now connect to your PC, now a pop up on the device (not on PC) will ask you for authenticating the PC, Thats it...

adb devices now lists both device id and no offline.

I post here my question just in case is helpful for somebody else. My problem was that my colleague was connected to the same device and I was not able to connect to the same device.

注:我在Wifi上空接连的上有这个问题。

有两个解决办法:

Easy to "drop” his connection (sorry buddy :)

Restart the device
adb kill-server
adb start-server
adb connect device-ip

www.un.org/Depts/DGACM/index_spanish.htm 略微困难,但有两个客户可以使用同样的装置。 (使用不同的TCP港口)

请参看https://stackoverflow.com/a/30912863/2000162>answer

For me with Android 4.1.1 only rebooting device works

操作SDk管理员和安装了Andan SDK工具和AndenSDK平台工具。 亚洲开发银行必须更新为4.2.x的新版本。

I had the same issue and none of the other answers worked. It seems to occur frequently when you connect to the device using the wifi mode (running command adb tcpip 5555 ). I found this solution, its sort of a workaround but it does work.

  1. Disconnect the usb (or turn off devices wifi if your connected over wifi)
  2. Close eclipse/other IDE
  3. Check your running programs for adb.exe (Task manager in Windows). If its running, Terminate it.
  4. Restart your android device
  5. After your device restarts, connect it via USB and run adb devices . This should start the adb daemon. And you should see your device online again.

这一进程几乎是漫长的,但它是我每次工作的唯一进程。

如果在客户的机器上安装,他就会发现通过

如果不采取上述步骤,就应当这样做。 我的装置在经过wifi接通后仍然离线。 i 做了以下工作:

go to your device...

  1. 前往环境。

  2. 选择发展。

  3. 只允许收费。

  4. 重复你始终采取的步骤。 :

    a. connet your usb on chargemode only. b. open command write: - adb tcpip 4455 - adb connect 192.168.1.11:4455 b. disconnect usb.

现在,一切都对我工作。

  1. make sure the device is set for usb debugging
  2. Have the adb client running (e.g. via "adb usb" or adb start-server"
  3. LEAVE the device connected via usb!!!
  4. AND THEN reboot the device.

这总是使我的Motola MB525“在线”再次出现,在提出反对后,这将是“脱线”。 I m 采用OSX btw。

我在安伯4.4.2与GT-N8010(Samsung tablet)一道安装了经授权的装置之后,将丁堡升至SDK版本。

~/local/opt/Android/Sdk/platform-tools/adb
Android Debug Bridge version 1.0.32

While It did not work using :

adb version   
Android Debug Bridge version 1.0.31

运入乌班图卢特版本:

apt-cache show android-tools-adb  | grep Version
Version: 4.2.2+git20130218-3ubuntu23

这样,这种联系便可帮助

Can tlink Nexus 4 to adb: Bert/a.

在浪费时间之后,我更新了我版本的<代码>adb,现在的<代码>adb 显示我的装置在网上,我可以再接手。

also make sure adb isn t running in your processes automatically. If it s there right click open file location, figure out what is starting it, kill it with fire. Run the updated adb from an updated android sdk platform tools. This was the issue with mine, hope it helps someone.

What did me in is was that multiple unrelated software packages just happened to install adb.exe -- in particular for me (on Windoze), the phone OEM driver installation package "helpfully" also installed adb.exe into C:windows, and this directory appears in %PATH% long before the platform-tools directory of my android SDK. Unsurprisingly, the adb.exe included in the phone OEM driver package is MUCH older than the one in the updated android sdk. So adb worked just fine for me until one day something caused me to update the windows drivers for my phone. Once I did that, absolutely NOTHING would make my phone status change from "offline" -- but the problem had nothing to do with the driver. It was simply that the driver package had installed a different adb.exe - and a MUCH older one - into a directory with higher precedence. To fix my installation I simply altered the PATH environment variable to make the sdk s adb.exe have priority. A quick check suggested to me that "lots" of different packages include adb.exe, so be careful not to insert an older one into your toolchain unintentionally.

I must really be getting old: I don t ever remember such a stupid issue taking so endlessly long to uncover.

检查你操作的亚行版本比关于相关装置的非洲顾问办版本更新。 对我来说,更新亚行有助于在线获取该装置。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...