深井冰_01
深井冰_01
  • 发布:2014-11-07 22:35
  • 更新:2024-01-14 21:16
  • 阅读:1742336

HBuilder/HBuilderX真机运行、手机运行、真机联调常见问题

分类:HBuilderX

本帖已移动到:https://uniapp.dcloud.net.cn/tutorial/run/run-app-faq.html

.

特别说明

回帖,请详细描述:电脑操作系统、手机系统(anroid、ios)、手机系统版本号、或手机型号。

您只有描述清问题,别人才能更快帮到您。

.

联系方式

HBuilderX Mac电脑专用交流: 148229211

HBuilderX 官方QQ群:793046085

37 关注 分享
keke007 为人民服务 安安的eHome 后海 藏0羊 扯淡1992 Trust 4***@qq.com l***@126.com 1***@qq.com JustinLiu DCloud_HB_WDL 1***@163.com lifeng_dev 8***@qq.com 1***@qq.com davidxs71 1***@qq.com APP全栈开发 1***@163.com 1***@qq.com 含光 5***@qq.com 6***@qq.com 4***@qq.com 取名好难啊 Liew 1***@qq.com 2***@qq.com z***@163.com 3***@qq.com 龙九山 a***@qq.com 1***@qq.com 1***@163.com 7***@qq.com 3***@qq.com

要回复文章请先登录注册

q***@qq.com

q***@qq.com

电脑是window11,手机是小米Mi6X,hbuilderx 3.99
2024-01-14 21:16
1***@qq.com

1***@qq.com

回复 9***@qq.com :
老哥我也是这个问题
2022-11-07 10:59
youzhuxiaoyao

youzhuxiaoyao

电脑 mac pro m1芯片 系统 macOS Monterey 版本12.6(21G115)
hbuilderx 3.6.4.20220922
xcode Version 14.0.1 (14A400)
模拟器死活连不上 https://uniapp.dcloud.net.cn/tutorial/run/run-app-faq.html 此文方法以操作没有用,依旧连不上
我是先启动模拟器在启动hbuilderx的
andriod studio里面的模拟器也同样检测不到,很着急,盼望解决
2022-10-26 20:44
岁月客

岁月客

电脑操作系统: macOS Monterey 12.5.1
手机(平板)系统: android 11
手机(平板)型号:HONOR Pad View 7 5G(荣耀平板v7 5g版)
手机(平板)UI系统:Magic UI 5.0
问题描述:

html 5+ 运行项目到安卓app基座 没有问题。
HBuilder 任何地方修改代码,保存后。app都会刷新到登录界面
感觉之前的热刷新效果失效。之前是 只刷新 修改代码的页面,不会跳回登录界面。
2022-10-20 15:15
1***@qq.com

1***@qq.com

电脑操作系统:Windows 11 家庭中文版 21H2;
手机系统:android
手机系统版本号:Miui13.0.8
手机型号:Mi11
问题:
10:21:09.147 avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:fuse:s0 tclass=file permissive=0
10:21:09.179 System server has no access to read file context u:object_r:fuse:s0 (from path /sdcard/android_base.apk, context u:r:system_server:s0)
10:21:09.210 Error: Unable to open file: /sdcard/android_base.apk
10:21:09.230 Consider using a file under /data/local/tmp/
10:21:09.258 Error: Can't open file: /sdcard/android_base.apk
10:21:09.288 Exception occurred while executing 'install':
10:21:09.318 java.lang.IllegalArgumentException: Error: Can't open file: /sdcard/android_base.apk
10:21:09.349 at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:572)
10:21:09.379 at com.android.server.pm.PackageManagerShellCommand.doRunInstall(PackageManagerShellCommand.java:1337)
10:21:09.409 at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1303)
10:21:09.441 at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:193)
10:21:09.474 at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
10:21:09.505 at android.os.ShellCommand.exec(ShellCommand.java:38)
10:21:09.537 at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:24973)
10:21:09.562 at android.os.Binder.shellCommand(Binder.java:953)
10:21:09.595 at android.os.Binder.onTransact(Binder.java:837)
10:21:09.625 at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4818)
10:21:09.655 at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:8596)
10:21:09.686 at android.os.Binder.execTransactInternal(Binder.java:1187)
10:21:09.716 at android.os.Binder.execTransact(Binder.java:1146)
2022-09-06 10:26
9***@qq.com

9***@qq.com

回复 9***@qq.com :
魅族18pro版本:flyme 9.3.3.3A 安卓十一 电脑 win11 hbuilderx 版本:3.4.18.20220630
2022-09-02 10:05
9***@qq.com

9***@qq.com

魅族18pro 安卓十一 电脑 win11 hbuilderx 版本:3.4.18.20220630
同步手机端程序文件完成
09:57:58.093 copyFile error src=/sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/ dest=/sdcard/Android/data/io.dcloud.HBuilder/apps/HBuilder/www/pages/
09:57:58.777 同步资源失败,无法重启,请手动重启后重新运行
09:57:58.809 已停止运行...
2022-09-02 10:00
5***@qq.com

5***@qq.com

发个广告
2022-08-30 17:29
9***@qq.com

9***@qq.com

电脑操作系统(window10)

手机系统(anroid)

手机系统版本号:红米k50,android12 miui 13.0.22.0稳定版、

HBuilder x:3.4.18.20220630


10:42:30.750 检测到正在运行真机调试的是安卓11设备,可能会出现读写失败问题,如遇到此类问题,请参考 https://ask.dcloud.net.cn/article/97
2022-08-30 10:44
z***@126.com

z***@126.com

windows11 vivo android11
avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:fuse:s0 tclass=file permissive=0
18:00:48.392 System server has no access to read file context u:object_r:fuse:s0 (from path /sdcard/android_debug.apk, context u:r:system_server:s0)
18:00:48.421 Error: Unable to open file: /sdcard/android_debug.apk
18:00:48.452 Consider using a file under /data/local/tmp/
18:00:48.483 Error: Can't open file: /sdcard/android_debug.apk
18:00:48.515 Exception occurred while executing 'install':
18:00:48.546 java.lang.IllegalArgumentException: Error: Can't open file: /sdcard/android_debug.apk
2022-08-17 18:04