uni-app 正式打包后报错: [u-video] class not found
uni-app 正式打包后报错: [u-video] class not found
| 开发环境 | 版本号 | 项目创建方式 |
|---|---|---|
| Windows | win10 | 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
更多关于uni-app 正式打包后报错: [u-video] class not found的实战教程也可以访问 https://www.itying.com/category-93-b0.html

