0

I am run command over cmd that working

adb that working

adb tcpip 5555 

when throw adb connect its show failed to connect to 100.91.174.70:5555

even adb -l also shows me connected device list.

so where i did mistake never get if anyone have some problem or get solution please share.

Thanks in advence

Zhubei Federer
  • 1,274
  • 2
  • 10
  • 27
Aakarsh Rai
  • 1
  • 1
  • 7

3 Answers3

1
  1. Set your terminal path to platform-tools path which is in SDK.

C:\Users\%username%\AppData\Local\Android\sdk\platform-tools

  1. Connect your device with USB.
  2. After that add below line in the terminal.

-->for checking whether your device is connected or not

adb devices

-->this gives you this kind of response if it is connected

List of devices attached

9153c6a4 device

--> please be sure that your device and your computer connected to same wifi or network --> after that write

adb shell setprop service.adb.tcp.port 5555

-->then press enter and write this

adb tcpip 5555

-->press enter and get you device ip and add this line

adb connect 192.168.0.1:5555

192.168.0.1 is my device ip

-->this connect your device using wifi

Community
  • 1
  • 1
AND
  • 11
  • 1
0

Your device and PC both should be under same network.then only it will able to connect.

E.g

If your device is connected with mobile network and your PC use broadband internet then it will not work.

Hardik Bambhania
  • 1,732
  • 15
  • 25
0
  1. first set your terminal path to platform-tools path which is in SDK.
  2. connect your device with USB
  3. after that add below line in the terminal

-->for checking whether your device is connected or not

adb devices

-->this gives you this kind of response if it is connected

List of devices attached

8053a4b6 device

--> please be sure that your device and your computer connected to same wifi or network --> after that write

adb shell setprop service.adb.tcp.port 1111

-->then press enter and write this

adb tcpip 1111

-->press enter and get you device ip and add this line

adb connect 192.168.0.1:4444

-->this connect your device using wifi

Community
  • 1
  • 1