kinnet
kinnet
  • 发布:2022-03-17 10:28
  • 更新:2023-01-18 11:11
  • 阅读:1440

【报Bug】3.3.13版本真机调试出现BUG-打开文件服务失败,请尝试拔掉数据线后重新连接手机

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 10.13.6

HBuilderX类型: 正式

HBuilderX版本号: 3.3.13

手机系统: iOS

手机系统版本号: iOS 15

手机厂商: 苹果

手机机型: 8plus

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

预期结果:

实际结果:

bug描述:

10:10:27.392 打开文件服务失败,请尝试拔掉数据线后重新连接手机,或重启手机再试(如果是自定义基座,请确认证书已添加相关设备;如果是IOS15.1以上的设备,请确认基座版本号为3.3.2及以上)
10:10:27.414 已停止运行...

看过类似问题的其它解决方案,都已经试过。
1、ios证书重新申请,MAC10.13.6上使用3.3.13HBuilderX可云打包正式包,可云打包自定义调试基座,说明证书没问题。
2、换高版本MAC电脑,使用iphone8p手机,能正常运行默认基座和自定义基座,说明设备正常,属于调试设备。
3、在MAC10.13.6上重新安装3.3.13HBuilderX,安卓手机正常,使用同一个iphone8p手机报错,无法真机调试。

2022-03-17 10:28 负责人:无 分享
已邀请:
9***@qq.com

9***@qq.com - 欢迎加我一起探讨技术QQ 914397365

出现同样的问题 等待官方解决中、、、、

kinnet

kinnet (作者)

没有人回答,是我弄错了吗?

DCloud_HB_WDL

DCloud_HB_WDL

高版本电脑正常? 电脑操作系统版本号多少?

  • 9***@qq.com

    10.13.6

    2022-03-18 16:50

  • 9***@qq.com

    高版本电脑 也不正常, 12.6系统+hbuilderX 3.3.13 仍然报相同错误错;

    2022-03-22 10:05

  • kinnet (作者)

    12的 MAC 运行正常,就这个10.13.6MAC 运行出错,无论是自定义基座或默认基座都不行。

    2022-03-31 10:43

9***@qq.com

9***@qq.com - 欢迎加我一起探讨技术QQ 914397365

运行日志如下:

2022-03-21 12:58:13.136 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"  
2022-03-21 13:06:27.873 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread  
2022-03-21 13:06:47.043 [INFO:] node "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"  
2022-03-21 13:06:47.043 [INFO:] args ("--max-old-space-size=2048", "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js")  
2022-03-21 13:06:59 [LanguageServerProcess] macos version:10.16  
2022-03-21 13:07:18 [LanguageServerProcess] /Users/dale/testspace/bike/bike-uniapp/unpackage/debug/iOS_debug.ipa  
2022-03-21 13:07:21 [LanguageServerProcess] [MDB] WARNING: could not locate iTunesMetadata.plist in archive!WARNING: could not locate Payload/HBuilder.app/SC_Info/HBuilder.sinf in archive!  
2022-03-21 13:07:21 [LanguageServerProcess] /Users/dale/testspace/bike/bike-uniapp/unpackage/debug/iOS_debug.ipa  
2022-03-21 13:07:23 [LanguageServerProcess] [MDB] WARNING: could not locate iTunesMetadata.plist in archive!WARNING: could not locate Payload/HBuilder.app/SC_Info/HBuilder.sinf in archive!  
2022-03-21 13:07:23.688 [WARNING:] QProcess: Destroyed while process ("/Applications/HBuilderX.app/Contents/HBuilderX/plugins/jre/Contents/Home/bin/java") is still running.  
2022-03-21 13:07:23.715 [WARNING:] uniapp compiled errorOccurred====== "进程已崩溃"
  • 9***@qq.com

    已经解决, 证书选择错误

    2022-03-23 15:51

飘叶

飘叶 - 一个有高度的人

我也是

2023-01-18 11:06:47.873 [WARNING:] [PluginHost] Error Code (PluginHost): -32603
2023-01-18 11:06:47.874 [WARNING:] [PluginHost] Error Stack (PluginHost):
2023-01-18 11:06:47.874 [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 11:06:47.874 [WARNING:] [PluginHost]
2023-01-18 11:06:47.874 [WARNING:] [PluginHost] Exception occurred while executing 'list':
2023-01-18 11:06:47.875 [WARNING:] [PluginHost] java.lang.SecurityException: Shell does not have permission to access user 150
2023-01-18 11:06:47.875 [WARNING:] [PluginHost] com.android.server.am.ActivityManagerService.handleIncomingUser:14872 android.app.ActivityManager.handleIncomingUser:4802 com.android.server.pm.PackageManagerShellCommand.translateUserId:3499
2023-01-18 11:06:47.875 [WARNING:] [PluginHost] at com.android.server.am.UserController.handleIncomingUser(UserController.java:2672)
2023-01-18 11:06:47.875 [WARNING:] [PluginHost] at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:14872)
2023-01-18 11:06:47.875 [WARNING:] [PluginHost] at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:4802)
2023-01-18 11:06:47.875 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.translateUserId(PackageManagerShellCommand.java:3499)
2023-01-18 11:06:47.875 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.runListPackages(PackageManagerShellCommand.java:965)
2023-01-18 11:06:47.875 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.runListPackages(PackageManagerShellCommand.java:861)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.runList(PackageManagerShellCommand.java:720)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:222)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at android.os.ShellCommand.exec(ShellCommand.java:38)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onShellCommand(PackageManagerService.java:6922)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at android.os.Binder.shellCommand(Binder.java:1085)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at android.os.Binder.onTransact(Binder.java:903)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4909)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onTransact(PackageManagerService.java:6906)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at android.os.Binder.execTransactInternal(Binder.java:1321)
2023-01-18 11:06:47.876 [WARNING:] [PluginHost] at android.os.Binder.execTransact(Binder.java:1280)
2023-01-18 11:06:47.877 [WARNING:] [PluginHost]
2023-01-18 11:06:47.877 [WARNING:] [PluginHost] at ChildProcess.exithandler (node:child_process:400:12)
2023-01-18 11:06:47.877 [WARNING:] [PluginHost] at ChildProcess.emit (node:events:513:28)
2023-01-18 11:06:47.877 [WARNING:] [PluginHost] at maybeClose (node:internal/child_process:1093:16)
2023-01-18 11:06:47.877 [WARNING:] [PluginHost] at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
2023-01-18 11:08:26.509 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"
2023-01-18 11:08:29.426 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"
2023-01-18 11:08:32.106 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"
2023-01-18 11:10:17.760 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop

要回复问题请先登录注册