Giter VIP home page Giter VIP logo

Comments (15)

dengzii avatar dengzii commented on August 25, 2024

之前有成功过吗, 能贴一下 Main> Log 里的日志吗

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

第一次下载用,老哥日志在哪看

from wifiadb.

dengzii avatar dengzii commented on August 25, 2024

@chenyy0708 菜单栏 Main > Log

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

WX20200109-111707@2x.png

from wifiadb.

dengzii avatar dengzii commented on August 25, 2024

@chenyy0708 没获取到设备的 IP 啊, 重新连接一次手机试试

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

好的 我试试 谢谢老哥

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

老哥需要怎么才能获取ip和端口,我试了两个手机都不行

from wifiadb.

dengzii avatar dengzii commented on August 25, 2024

@chenyy0708 你把日志截图完整的我看看

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

2020-01-09 11:18:34.408 Device.connect: turn port 5555
2020-01-09 11:18:34.408 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb -s 4b2f079f7d84 tcpip 5555
2020-01-09 11:18:34.528 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb connect :5555
2020-01-09 11:18:34.535 CmdUtils.resolve: no host in ':5555'
2020-01-09 11:18:35.038 Config.loadConfigDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]
2020-01-09 11:18:35.038 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 11:18:35.049 CmdUtils.resolve: List of devices attached
2020-01-09 11:18:35.049 CmdUtils.resolve:
2020-01-09 11:18:35.049 Config.saveDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]
2020-01-09 11:18:55.987 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb connect 192.168.5.1:5555
2020-01-09 11:18:56.011 CmdUtils.resolve: failed to connect to '192.168.5.1:5555': Connection refused
2020-01-09 11:18:56.012 Config.loadConfigDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]
2020-01-09 11:18:56.012 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 11:18:56.022 CmdUtils.resolve: List of devices attached
2020-01-09 11:18:56.022 CmdUtils.resolve: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:10
2020-01-09 11:18:56.022 CmdUtils.resolve:
2020-01-09 11:18:56.022 AdbUtils.getDeviceFromLine: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:10
2020-01-09 11:18:56.022 CmdUtils.execSync: adb -s 4b2f079f7d84 shell ip addr show wlan0
2020-01-09 11:18:56.028 CmdUtils.execSync: Cannot run program "adb": error=2, No such file or directory
2020-01-09 11:18:56.028 Config.saveDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=ONLINE, broadcastAddress='',mark=)]
2020-01-09 11:18:57.663 Device.connect: ip=, port=, status=ONLINE
2020-01-09 11:18:57.663 Device.connect: turn port 5555
2020-01-09 11:18:57.663 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb -s 4b2f079f7d84 tcpip 5555
2020-01-09 11:18:57.678 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb connect :5555
2020-01-09 11:18:57.949 CmdUtils.resolve: no host in ':5555'
2020-01-09 11:18:58.452 Config.loadConfigDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]
2020-01-09 11:18:58.452 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 11:18:58.459 CmdUtils.resolve: List of devices attached
2020-01-09 11:18:58.459 CmdUtils.resolve: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:18:58.459 CmdUtils.resolve:
2020-01-09 11:18:58.459 AdbUtils.getDeviceFromLine: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:18:58.459 CmdUtils.execSync: adb -s 4b2f079f7d84 shell ip addr show wlan0
2020-01-09 11:18:58.463 CmdUtils.execSync: Cannot run program "adb": error=2, No such file or directory
2020-01-09 11:18:58.463 Config.saveDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=ONLINE, broadcastAddress='',mark=)]
2020-01-09 11:22:09.371 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb version
2020-01-09 11:22:09.381 CmdUtils.resolve: Android Debug Bridge version 1.0.41
2020-01-09 11:22:09.381 CmdUtils.resolve: Version 29.0.2-5738569
2020-01-09 11:22:09.381 CmdUtils.resolve: Installed as /Users/chenyy/sdk/platform-tools/adb
2020-01-09 11:22:09.382 Config.loadConfigDevice: []
2020-01-09 11:22:09.382 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 11:22:09.394 CmdUtils.resolve: List of devices attached
2020-01-09 11:22:09.394 CmdUtils.resolve: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:22:09.394 CmdUtils.resolve:
2020-01-09 11:22:09.394 AdbUtils.getDeviceFromLine: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:22:09.394 CmdUtils.execSync: adb -s 4b2f079f7d84 shell ip addr show wlan0
2020-01-09 11:22:09.398 CmdUtils.execSync: Cannot run program "adb": error=2, No such file or directory
2020-01-09 11:22:09.398 Config.saveDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=ONLINE, broadcastAddress='',mark=)]
2020-01-09 11:22:13.595 Config.loadConfigDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]
2020-01-09 11:22:13.595 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 11:22:13.604 CmdUtils.resolve: List of devices attached
2020-01-09 11:22:13.604 CmdUtils.resolve: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:22:13.604 CmdUtils.resolve:
2020-01-09 11:22:13.604 AdbUtils.getDeviceFromLine: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:22:13.604 CmdUtils.execSync: adb -s 4b2f079f7d84 shell ip addr show wlan0
2020-01-09 11:22:13.608 CmdUtils.execSync: Cannot run program "adb": error=2, No such file or directory
2020-01-09 11:22:13.608 Config.saveDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=ONLINE, broadcastAddress='',mark=)]
2020-01-09 11:22:15.466 Config.loadConfigDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]
2020-01-09 11:22:15.466 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 11:22:15.473 CmdUtils.resolve: List of devices attached
2020-01-09 11:22:15.473 CmdUtils.resolve: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:22:15.473 CmdUtils.resolve:
2020-01-09 11:22:15.474 AdbUtils.getDeviceFromLine: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:22:15.474 CmdUtils.execSync: adb -s 4b2f079f7d84 shell ip addr show wlan0
2020-01-09 11:22:15.478 CmdUtils.execSync: Cannot run program "adb": error=2, No such file or directory
2020-01-09 11:22:15.478 Config.saveDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=ONLINE, broadcastAddress='',mark=)]
2020-01-09 11:25:11.478 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb version
2020-01-09 11:25:11.488 CmdUtils.resolve: Android Debug Bridge version 1.0.41
2020-01-09 11:25:11.488 CmdUtils.resolve: Version 29.0.2-5738569
2020-01-09 11:25:11.488 CmdUtils.resolve: Installed as /Users/chenyy/sdk/platform-tools/adb
2020-01-09 11:25:11.490 Config.loadConfigDevice: []
2020-01-09 11:25:11.490 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 11:25:11.498 CmdUtils.resolve: List of devices attached
2020-01-09 11:25:11.498 CmdUtils.resolve: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:25:11.498 CmdUtils.resolve:
2020-01-09 11:25:11.499 AdbUtils.getDeviceFromLine: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:11
2020-01-09 11:25:11.499 CmdUtils.execSync: adb -s 4b2f079f7d84 shell ip addr show wlan0
2020-01-09 11:25:11.503 CmdUtils.execSync: Cannot run program "adb": error=2, No such file or directory
2020-01-09 11:25:11.504 Config.saveDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=ONLINE, broadcastAddress='',mark=)]
2020-01-09 11:25:13.176 Device.connect: ip=, port=, status=ONLINE
2020-01-09 11:25:13.176 Device.connect: turn port 5555
2020-01-09 11:25:13.176 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb -s 4b2f079f7d84 tcpip 5555
2020-01-09 11:25:13.197 CmdUtils.resolve: restarting in TCP mode port: 5555
2020-01-09 11:25:13.198 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb connect :5555
2020-01-09 11:25:13.473 CmdUtils.resolve: no host in ':5555'
2020-01-09 11:25:13.977 Config.loadConfigDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]
2020-01-09 11:25:13.978 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 11:25:13.986 CmdUtils.resolve: List of devices attached
2020-01-09 11:25:13.986 CmdUtils.resolve: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:12
2020-01-09 11:25:13.986 CmdUtils.resolve:
2020-01-09 11:25:13.986 AdbUtils.getDeviceFromLine: 4b2f079f7d84 device usb:338690048X product:riva model:Redmi_5A device:riva transport_id:12
2020-01-09 11:25:13.986 CmdUtils.execSync: adb -s 4b2f079f7d84 shell ip addr show wlan0
2020-01-09 11:25:13.990 CmdUtils.execSync: Cannot run program "adb": error=2, No such file or directory
2020-01-09 11:25:13.991 Config.saveDevice: [Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=ONLINE, broadcastAddress='',mark=)]

from wifiadb.

dengzii avatar dengzii commented on August 25, 2024

@chenyy0708 感谢提出问题, 这个问题我已在新的版本 V2.4 中尝试修复了,

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

ok

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

老哥 我试了你打的2.4的jar包,本地导入插件 发现好像还是报错

日志:
2020-01-09 13:35:22.424 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb -s 4b2f079f7d84 tcpip 5555
2020-01-09 13:35:22.438 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb connect :5555
2020-01-09 13:35:22.542 CmdUtils.resolve: no host in ':5555'
2020-01-09 13:35:23.045 Config.loadConfigDevice: [Device(sn='emulator-5554', ip='', model='MuMu', modelName='cancro', port='', status=DISCONNECTED, broadcastAddress='',mark=), Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]
2020-01-09 13:35:23.045 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb devices -l
2020-01-09 13:35:23.054 CmdUtils.resolve: List of devices attached
2020-01-09 13:35:23.054 CmdUtils.resolve: emulator-5554 device product:cancro model:MuMu device:x86 transport_id:1
2020-01-09 13:35:23.054 CmdUtils.resolve:
2020-01-09 13:35:23.054 AdbUtils.getDeviceFromLine: emulator-5554 device product:cancro model:MuMu device:x86 transport_id:1
2020-01-09 13:35:23.054 CmdUtils.execSync: /Users/chenyy/sdk/platform-tools/adb -s emulator-5554 shell ip addr show wlan0
2020-01-09 13:35:23.067 CmdUtils.resolve: Device "wlan0" does not exist.
2020-01-09 13:35:23.067 Config.saveDevice: [Device(sn='emulator-5554', ip='', model='MuMu', modelName='cancro', port='', status=ONLINE, broadcastAddress='',mark=), Device(sn='4b2f079f7d84', ip='', model='riva', modelName='338690048X', port='', status=DISCONNECTED, broadcastAddress='',mark=)]

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

跟我Mac环境有关系吗

from wifiadb.

chenyy0708 avatar chenyy0708 commented on August 25, 2024

我直接使用adb connect xxxx:5555可以正常连接

from wifiadb.

dengzii avatar dengzii commented on August 25, 2024

因为列表里已经保存了之前的记录吧, 之前就没有获取到 ip, 保存的也没有,要重新usb连接

from wifiadb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.