dreaman
dreaman
  • 发布:2021-08-28 10:30
  • 更新:2021-08-28 10:30
  • 阅读:787

【报Bug】正式打包后报错: [u-video] class not found

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: 正式

HBuilderX版本号: 3.2.5

手机系统: Android

手机系统版本号: Android 11

手机厂商: 所有机型

手机机型: arm

页面类型: nvue

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

video的问题可以忽略了,发现忘记勾选videoplayer权限了,但是另外的问题依然在,虽然不影响运行,不过看着挺不爽
另外还有block class not found的错误,把整个系统中的block标签都换成view了,还有这个错误,搞不懂是哪里出来的

没有关闭问题或者撤销问题的选项,没办法,只能修改问题了

操作步骤:

预期结果:

预期结果是要能正常播放视频,而实际无法播放,经过debug离线打包,发现组件缺失,HbuilderX真机运行一切正常,也就是调试基座正常,但是正式基座有问题

实际结果:

无法播放,经过debug离线打包,发现组件缺失,HbuilderX真机运行一切正常,也就是调试基座正常,但是正式基座有问题

bug描述:

真机运行正常,云打包以及离线打包,视频不播放,经过离线打包debug,发现如下问题:

E/weex: WXComponentFactory error type:[u-video] class not found  
I/console: [ERROR][JS Framework] Failed to execute the callback function:  
     TypeError: e[t] is not a function  
E/weex: reportJSException >>>> instanceId:4, exception function:__WEEX_CALL_JAVASCRIPT__, exception:Uncaught TypeError: e[t] is not a function  
    onJSException -2013,Uncaught TypeError: e[t] is not a function  
    commitCriticalExceptionRT :WX_ERR_JS_EXECUTEexceptionJavaScript execute error!Uncaught TypeError: e[t] is not a function  
E/WXViewWrapper: onException--errCode=-2013    msg=__WEEX_CALL_JAVASCRIPT__Uncaught TypeError: e[t] is not a function
2021-08-28 10:30 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复