简体   繁体   中英

ADB in Android Studio sees device as offline

After connecting my galaxy s7 ADB sees device ok for about 500 ms. In that short time logcat wrote out lots of text which immediately disappeared. After that it is marked as [OFFLINE] . I have tried restarting android studio, phone, USB debugging, ADB server and reinstalled SDK. I have allowed USB debugging authorization for PC.

PC OS: Win 10

Android: 7.0

Do you have any idea what to do about it ?

Try another cable. I had this issue when I used cheap usb cable.

If you have any issues with the cable, then try to change it.

  1. Try to install required driver.
  2. Use ADB command from the android studio teminal

    adb tcpip <port> adb connect <ip>:<port>

Change USB cable. Your current USB cable's data transfer speed is slow that's why it is detecting but showing OFFLINE.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM