飘叶
飘叶
  • 发布:2023-01-14 15:25
  • 更新:2023-01-29 08:48
  • 阅读:392

【报Bug】真机调试一直显示正在链接手机

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 13.0.1 (22A400)

HBuilderX类型: 正式

HBuilderX版本号: 3.6.17

手机系统: Android

手机系统版本号: Android 12

手机厂商: 三星

手机机型: 三星 Note20

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

真机调试,可以选择手机,但是一直显示链接手机中

预期结果:

能够正常使用

实际结果:

不能正常使用

bug描述:

mac 版本使用真机调试,一直卡在正在链接手机中,开启了手机调试模式,usb 的模式也选择切换过几种模式都不行,软件也重装过好几次,缓存也都清除过,附件有详细的截图

2023-01-14 15:25 负责人:无 分享
已邀请:
DCloud_HB_WDL

DCloud_HB_WDL

手边有其它手机吗?其它厂商的手机,如小米、oppo、vivo,这些正常吗?

提供下运行日志(菜单【帮助 - 查看运行日志】,日志可以另存为txt,然后以附件形式上传到本帖)。运行日志,有助于我们分析问题。

  • 飘叶 (作者)

    日志已经附上去了 3.6.18,版本今天升级的最新版本

    2023-01-18 10:42

  • DCloud_HB_WDL

    回复 飘叶: 未找到有效信息。HBuilderX是通过Android sdk中的adb命令来连接手机的。adb devices能检测到手机吗?

    2023-01-18 10:54

  • 飘叶 (作者)

    用hbuilderx可以找到需要链接的手机,点击运行以后控制台就报这个

    2023-01-18 12:18

  • 飘叶 (作者)

    !!Can't find the action id: "unicloud.localRunOrStop" 2023-01-18 10:55:5 还有一个这样的

    2023-01-18 12:20

飘叶

飘叶 (作者) - 一个有高度的人

2023-01-18 10:40:34.053 [INFO:] mFilePath: "/Applications/phpstudy/WWW/xingnong/web/xingnong_app_v2" --mode: 0
2023-01-18 10:40:36.314 [WARNING:] "Can't Not Find Grammar text.slm ! "
2023-01-18 10:40:36.318 [WARNING:] "Can't Not Find Grammar text.pug ! "
2023-01-18 10:40:36.318 [WARNING:] "Can't Not Find Grammar text.pug ! "
2023-01-18 10:40:36.326 [WARNING:] "Can't Not Find Grammar source.postcss ! "
2023-01-18 10:40:36.391 [WARNING:] "Can't Not Find Grammar selectors ! "
2023-01-18 10:40:36.402 [WARNING:] "Can't Not Find Grammar source.coffee ! "
2023-01-18 10:40:36.413 [WARNING:] "Can't Not Find Grammar source.livescript ! "
2023-01-18 10:40:40.741 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2023-01-18 10:40:40.743 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout
2023-01-18 10:40:40.743 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout
2023-01-18 10:40:42.129 [WARNING:] [PluginHost] refreshListData: QJsonValue(object, QJsonObject({"checkedBaseIndex":1,"code":1,"device":{"name":"R5CRC2PKYLM","platform":"android","runState":0,"runStateStr":"","udid":"R5CRC2PKYLM","version":"13"},"userData":{"checkedBaseIndex":1,"cli":false,"platform":"android","runningDevices":[],"workspaceFolder":{"id":"{4d0d5e25-79c3-4d70-8720-0d75c41aed95}","name":"xingnong_app_v2","nature":"UniApp_Vue","uri":{"$mid":1,"external":"file:///Applications/phpstudy/WWW/xingnong/web/xingnong_app_v2","fsPath":"/Applications/phpstudy/WWW/xingnong/web/xingnong_app_v2","path":"/Applications/phpstudy/WWW/xingnong/web/xingnong_app_v2","scheme":"file"}}}}))
2023-01-18 10:40:42.823 [INFO:] node "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"
2023-01-18 10:40:42.824 [INFO:] args ("--max-old-space-size=2048", "--no-warnings", "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/vite-plugin-uni/bin/uni.js", "-p", "app")
2023-01-18 10:40:56.431 [WARNING:] [PluginHost] Error Code (PluginHost): -32603
2023-01-18 10:40:56.432 [WARNING:] [PluginHost] Error Stack (PluginHost):
2023-01-18 10:40:56.432 [WARNING:] [PluginHost] Request plugin/invokeApi failed with message: Error: Command failed: /Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/tools/adbs/adb -s R5CRC2PKYLM shell pm list packages io.dcloud.HBuilder
2023-01-18 10:40:56.432 [WARNING:] [PluginHost]
2023-01-18 10:40:56.432 [WARNING:] [PluginHost] Exception occurred while executing 'list':
2023-01-18 10:40:56.433 [WARNING:] [PluginHost] java.lang.SecurityException: Shell does not have permission to access user 150
2023-01-18 10:40:56.433 [WARNING:] [PluginHost] com.android.server.am.ActivityManagerService.handleIncomingUser:14872 android.app.ActivityManager.handleIncomingUser:4802 com.android.server.pm.PackageManagerShellCommand.translateUserId:3499
2023-01-18 10:40:56.433 [WARNING:] [PluginHost] at com.android.server.am.UserController.handleIncomingUser(UserController.java:2672)
2023-01-18 10:40:56.433 [WARNING:] [PluginHost] at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:14872)
2023-01-18 10:40:56.433 [WARNING:] [PluginHost] at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:4802)
2023-01-18 10:40:56.433 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.translateUserId(PackageManagerShellCommand.java:3499)
2023-01-18 10:40:56.433 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.runListPackages(PackageManagerShellCommand.java:965)
2023-01-18 10:40:56.433 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.runListPackages(PackageManagerShellCommand.java:861)
2023-01-18 10:40:56.434 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.runList(PackageManagerShellCommand.java:720)
2023-01-18 10:40:56.434 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:222)
2023-01-18 10:40:56.434 [WARNING:] [PluginHost] at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
2023-01-18 10:40:56.434 [WARNING:] [PluginHost] at android.os.ShellCommand.exec(ShellCommand.java:38)
2023-01-18 10:40:56.434 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onShellCommand(PackageManagerService.java:6922)
2023-01-18 10:40:56.434 [WARNING:] [PluginHost] at android.os.Binder.shellCommand(Binder.java:1085)
2023-01-18 10:40:56.434 [WARNING:] [PluginHost] at android.os.Binder.onTransact(Binder.java:903)
2023-01-18 10:40:56.435 [WARNING:] [PluginHost] at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4909)
2023-01-18 10:40:56.435 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onTransact(PackageManagerService.java:6906)
2023-01-18 10:40:56.435 [WARNING:] [PluginHost] at android.os.Binder.execTransactInternal(Binder.java:1321)
2023-01-18 10:40:56.435 [WARNING:] [PluginHost] at android.os.Binder.execTransact(Binder.java:1280)
2023-01-18 10:40:56.435 [WARNING:] [PluginHost]
2023-01-18 10:40:56.435 [WARNING:] [PluginHost] at ChildProcess.exithandler (node:child_process:400:12)
2023-01-18 10:40:56.435 [WARNING:] [PluginHost] at ChildProcess.emit (node:events:513:28)
2023-01-18 10:40:56.435 [WARNING:] [PluginHost] at maybeClose (node:internal/child_process:1093:16)
2023-01-18 10:40:56.435 [WARNING:] [PluginHost] at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

飘叶

飘叶 (作者) - 一个有高度的人

换了一个 vivo 的可以就这个三星的不行

飘叶

飘叶 (作者) - 一个有高度的人

还是不行,附件有日志,试过了很多方法都不行

飘叶

飘叶 (作者) - 一个有高度的人

日志附件

  • DCloud_HB_WDL

    关于三星手机连接问题,请申请添加您的QQ: 105540812 请同意

    2023-01-29 13:40

要回复问题请先登录注册