Comments (15)
之前有成功过吗, 能贴一下 Main> Log 里的日志吗
from wifiadb.
第一次下载用,老哥日志在哪看
from wifiadb.
@chenyy0708 菜单栏 Main > Log
from wifiadb.
from wifiadb.
@chenyy0708 没获取到设备的 IP 啊, 重新连接一次手机试试
from wifiadb.
好的 我试试 谢谢老哥
from wifiadb.
老哥需要怎么才能获取ip和端口,我试了两个手机都不行
from wifiadb.
@chenyy0708 你把日志截图完整的我看看
from wifiadb.
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.
@chenyy0708 感谢提出问题, 这个问题我已在新的版本 V2.4 中尝试修复了,
from wifiadb.
ok
from wifiadb.
老哥 我试了你打的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.
跟我Mac环境有关系吗
from wifiadb.
我直接使用adb connect xxxx:5555可以正常连接
from wifiadb.
因为列表里已经保存了之前的记录吧, 之前就没有获取到 ip, 保存的也没有,要重新usb连接
from wifiadb.
Related Issues (20)
- not installing
- [Feature request] Connect Manual使用频率相当之高, 可否考虑将其将其移置工具栏? HOT 2
- MacOS bigsur,AS4.1.2,插件版本3.3,每次启动都显示adb command is unavailable但是sdk路径绝对没有错 HOT 3
- Menu item missing from Tools HOT 1
- 拔掉线就提示设备下线 HOT 2
- Security concerns HOT 2
- [Feature request] The plugin should attempt to auto-locate ADB HOT 4
- [Feature request] Allow users to add a wireless ADB connection when the device is not currently available HOT 2
- can modify the port number directly HOT 1
- Conflicting descriptions HOT 2
- 无线调试扫描端口速度太慢了 HOT 3
- Device not connecting HOT 1
- 建议名称可以自定义 HOT 5
- Custom shortcut HOT 1
- [Feature request] Request: offer stand-alone app to launch HOT 2
- Why would you impose us paid version HOT 3
- Why does it show an alert about license? HOT 1
- 建议主窗体能用 Command + W 关闭 HOT 1
- MARK not save HOT 1
- [Feature request] 适配Android 11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifiadb.