使用wifi配对设备无法连接的uni-app问题

使用wifi配对设备无法连接的uni-app问题

信息类别 详情
产品分类 uniapp/App
PC开发环境 Windows
PC版本号 24H2
HBuilderX 正式
HBuilderX版本 4.76
手机系统 Android
手机版本号 Android 15
手机厂商 小米
手机机型 Xiaomi Pad 6 Pro
页面类型 vue
vue版本 vue2
打包方式 云端
项目创建方式 HBuilderX

操作步骤:

  • wifi连接

预期结果:

  • 能连上

实际结果:

  • 连不上

bug描述:

使用WiFi连接设备,二维码扫描完成后报错,验证码输入完成后报错
使用adb手动连接后,adb devices能看到,但是设备列表加载不出来

---- 日志
2025-09-14 22:07:44.213 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2025-09-14 22:07:47.533 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2025-09-14 22:07:48.430 [WARNING:] [PluginHost] Error [ERR_METHOD_NOT_IMPLEMENTED]: The _read() method is not implemented
at new NodeError (node:internal/errors:405:5)
at Readable._read (node:internal/streams/readable:706:9)
at Readable.read (node:internal/streams/readable:539:12)
at resume (node:internal/streams/readable:1040:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: ‘ERR_METHOD_NOT_IMPLEMENTED’
}

adb --version
Android Debug Bridge version 1.0.41
Version 36.0.0-13206524
Installed as C:\ENV\platform-tools\adb.exe


更多关于使用wifi配对设备无法连接的uni-app问题的实战教程也可以访问 https://www.itying.com/category-93-b0.html

回到顶部