2

I have Oppo A5S and ı try to debug without usb my devices looks like this not like ip address ı try to connect with ip address but when ı unplugn my cable my devices looks offline how can i fix this ?

enter image description hereenter image description here

Erbay Mavzer
  • 69
  • 2
  • 7

3 Answers3

4

After installing the latest android sdk, you could also try

adb reconnect offline

fanbyprinciple
  • 554
  • 7
  • 14
1

You could try this:

Commands

  1. adb kill-server

  2. adb start-server

  3. adb tcpip 1234

  4. adb connect <ip>:1234

  5. adb devices

wuseman
  • 1,259
  • 12
  • 20
0

You possibly need to pair your device to the adb client. Newer Android versions need this, here is tutorial at the Lineage wiki:

On your device

    Go to the developer settings
    Press Enable Wireless debugging
    Select Pair device with pairing code

You will see a dialog showing you IP address, port and a code.
On your computer

    Open a command line window
    Type adb pair <ip>:<port> and replace <ip> and <port> with the data seen on the device
    You will be asked for the pairing code. Type it in and hit Enter
    You will now see an output similar to Successfully paired to <ip>:<port>
    To connect to the device, type adb connect <ip>:<port> and replace <ip> and <port> with the data seen on the Wireless debugging page after closing the pairing dialog

https://wiki.lineageos.org/how-to/adb-over-wifi

vinibali
  • 31
  • 3