DCloud_HB_WDL
DCloud_HB_WDL
  • 发布:2018-10-22 15:04
  • 更新:2024-07-15 22:57
  • 阅读:305314

什么是自定义调试基座及使用说明

分类:HBuilderX

要回复文章请先登录注册

1***@qq.com

1***@qq.com

苹果版的自定义基座打包成功,不能安装!提示我手动安装。我用爱思安装提示设备未越狱
2020-05-06 11:00
石头2001

石头2001

离线打包打开app提示运行在自定义基座是什么原因呢?
2020-04-29 13:27
1***@qq.com

1***@qq.com

回复 7***@qq.com :
同问
2020-04-08 17:52
7***@qq.com

7***@qq.com

安卓HB基座在模拟器上运行正常。但是自定义基座运行在模拟器上报错:

正在安装手机端自定义基座...
23:22:08.312 /Users/abcd/Documents/HBuilderProjects/test/unpackage/debug/android_debug.apk: 1 file pushed. 288.6 MB/s (12443650 bytes in 0.041s)
23:22:08.334 avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:sdcardfs:s0 tclass=file permissive=0
23:22:08.358 System server has no access to read file context u:object_r:sdcardfs:s0 (from path /sdcard/android_debug.apk, context u:r:system_server:s0)
23:22:08.381 Error: Unable to open file: /sdcard/android_debug.apk
23:22:08.404 Consider using a file under /data/local/tmp/
23:22:08.427 Error: Can't open file: /sdcard/android_debug.apk
23:22:08.450 Exception occurred while executing:
23:22:08.474 java.lang.IllegalArgumentException: Error: Can't open file: /sdcard/android_debug.apk
23:22:08.498 at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:461)
23:22:08.522 at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060)
23:22:08.546 at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169)
23:22:08.570 at android.os.ShellCommand.exec(ShellCommand.java:104)
23:22:08.592 at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21742)
23:22:08.643 at android.os.Binder.shellCommand(Binder.java:881)
23:22:08.644 at android.os.Binder.onTransact(Binder.java:765)
23:22:08.657 at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4860)
23:22:08.682 at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4016)
23:22:08.706 at android.os.Binder.execTransactInternal(Binder.java:1021)
23:22:08.730 at android.os.Binder.execTransact(Binder.java:994)
23:22:08.754 Performing Streamed Install
23:22:08.776 注:有些手机需要点亮手机屏幕并点击【安装】按钮才能安装成功
23:22:08.797 /Users/abcd/Documents/HBuilderProjects/test/unpackage/debug/android_debug.apk: 1 file pushed. 474.2 MB/s (12443650 bytes in 0.025s)
23:22:08.819 avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:sdcardfs:s0 tclass=file permissive=0
23:22:08.843 System server has no access to read file context u:object_r:sdcardfs:s0 (from path /sdcard/android_debug.apk, context u:r:system_server:s0)
23:22:08.867 Error: Unable to open file: /sdcard/android_debug.apk
23:22:08.891 Consider using a file under /data/local/tmp/
23:22:08.915 Error: Can't open file: /sdcard/android_debug.apk
23:22:08.940 Exception occurred while executing:
23:22:08.965 java.lang.IllegalArgumentException: Error: Can't open file: /sdcard/android_debug.apk
23:22:08.985 at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:461)
23:22:09.009 at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060)
23:22:09.029 at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169)
23:22:09.052 at android.os.ShellCommand.exec(ShellCommand.java:104)
23:22:09.075 at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21742)
23:22:09.098 at android.os.Binder.shellCommand(Binder.java:881)
23:22:09.118 at android.os.Binder.onTransact(Binder.java:765)
23:22:09.142 at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4860)
23:22:09.164 at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4016)
23:22:09.188 at android.os.Binder.execTransactInternal(Binder.java:1021)
23:22:09.213 at android.os.Binder.execTransact(Binder.java:994)
23:22:09.238 Performing Streamed Install
23:22:09.261 /Users/abcd/Documents/HBuilderProjects/test/unpackage/debug/android_debug.apk: 1 file pushed. 377.1 MB/s (12443650 bytes in 0.031s)
23:22:09.285 avc: denied { read } for scontext=u:r:system_server:s0 tcontext=u:object_r:sdcardfs:s0 tclass=file permissive=0
23:22:09.310 System server has no access to read file context u:object_r:sdcardfs:s0 (from path /sdcard/android_debug.apk, context u:r:system_server:s0)
23:22:09.334 Error: Unable to open file: /sdcard/android_debug.apk
23:22:09.358 Consider using a file under /data/local/tmp/
23:22:09.382 Error: Can't open file: /sdcard/android_debug.apk
23:22:09.403 Exception occurred while executing:
23:22:09.425 java.lang.IllegalArgumentException: Error: Can't open file: /sdcard/android_debug.apk
23:22:09.450 at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:461)
23:22:09.475 at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060)
23:22:09.499 at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169)
23:22:09.522 at android.os.ShellCommand.exec(ShellCommand.java:104)
23:22:09.547 at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21742)
23:22:09.570 at android.os.Binder.shellCommand(Binder.java:881)
23:22:09.592 at android.os.Binder.onTransact(Binder.java:765)
23:22:09.613 at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4860)
23:22:09.638 at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4016)
23:22:09.662 at android.os.Binder.execTransactInternal(Binder.java:1021)
23:22:09.685 at android.os.Binder.execTransact(Binder.java:994)
23:22:09.708 Performing Streamed Install
23:22:09.733 安装自定义基座App失败,请使用手机助手手动安装/Users/abcd/Documents/HBuilderProjects/test/unpackage/debug/android_debug.apk到手机上,并重新运行真机调试。
23:22:09.754 已停止运行...

将APK直接安装在模拟器上也报销:
The APK failed to install.
Error: Could not parse error string
2020-03-12 00:37
1***@qq.com

1***@qq.com

我按照教程开发了原生的 iOS 插件,其中引用了一个第三方的framework, 在 xcode demo 工程中运行是正常的,但是把插件包集成到 uni-app 项目中就失效了,uni-app 跟插件通信是正常的,但是跟三方 SDK 的通信是断的,怀疑是没有把三方 SDK 集成到 uni-app 中。package.json 我是这么配置的:
```
"embedFrameworks": [
"Hyphenate.framwork"
],
```
因为这是一个动态库,改成 frameworks:[]也不行, uni-app 真机可以运行也没报错,云打包 ipa 也是成功的,但是就是没有 sdk 的功能, 求解答~
2020-02-27 19:53
y***@outlook.com

y***@outlook.com

iOS 越狱证书的自定义基座能用 hbuilderx 运行吗
目前报错 安装失败 return code=-402620395
2020-02-11 14:30
1***@qq.com

1***@qq.com

回复 1***@qq.com :
云打包选择的是正式打包 app还是显示自定义基座
2019-12-25 14:01
1***@qq.com

1***@qq.com

用最新的版本打的android包,在应用启动时 总是提示 : 当前应用运行在自定义基座中!
找了很久都没找到怎么去掉这个提示,但是把代码运行到旧版本的sdk中就没这个提示了,
所以猜测是最新版sdk有问题,希望官方看到能解决一下。
总不能发布的应用,当用户启动应用时提示这个toast吧,
2019-12-25 14:01
DCloud_App_Array

DCloud_App_Array

回复 2***@qq.com :
要本地打包制作自定义基座请下载5+ SDK配置原生开发环境。文章中有链接说明本地离线打包如何配置自定义基座。
2019-12-25 12:44
2***@qq.com

2***@qq.com

我就是选择的制定自定义基座,还是跳到云打包页面,然后超次数叫我给钱,真尼玛恶心
2019-12-09 13:40