ADB TCPIP Connecting trouble

感情迁移 提交于 2019-12-02 15:25:13

问题


I have two Galaxy S3. One of them is rooted and the other one is not. So, when I tried to connect them over the local network, computer can see the rooted one. But normal one stucks on the tcpip step. So, I write

adb tcpip 5555

It says

restarting in TCP mode port : 5555

but nothing else. Can you help me with these?

Note: My OS is Win8.


回答1:


After running

adb tcpip 5555

What is the ouput when you try to run the "connect" command to the devices based on knowing the IP of the phone e.g.

adb connect 192.168.1.186

should result in something like:

connected to 192.168.1.186:5555

Also, make sure you have USB debugging turned on on the Samsung 'Settings' --> 'Developer options'

(If you don't see 'Developer Options', you'll need to enable it first (link))




回答2:


I have made a small script for myself

  1. Simply Connect your device (in USB debugging mode).
  2. Go to location "C:\Users\PC\AppData\Local\Android\sdk\platform-tools"
  3. Press Shift + Right Click --> open Command window here.
  4. Paste that script there , make sure adb.exe is available at that path in PC.
  5. run wireless.bat follow steps give your IP that's it.

wireless.bat



来源:https://stackoverflow.com/questions/27897923/adb-tcpip-connecting-trouble

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!