HarmonyOS 鸿蒙Next预览器白屏
HarmonyOS 鸿蒙Next预览器白屏
配置:
- win11
- devecostudio3.1.0.501
- sdk9
预览器日志:
- A preview error may have occurred. Switch to the Log tab to view details.
日志:
- 07-14 09:56:09.874 2816-26724 E C03900/Ace: [Engine Log]Lifetime: 0.000000s
- 07-14 09:56:09.874 2816-26724 E C03900/Ace: [Engine Log]Js-Engine: ark
- 07-14 09:56:09.874 2816-26724 E C03900/Ace: [Engine Log]page: pages
- 07-14 09:56:09.874 2816-26724 E C03900/Ace: [Engine Log]Error message: Builder is not defined
- 07-14 09:56:09.874 2816-26724 E C03900/Ace: [Engine Log]Cannot get SourceMap info, dump raw stack:
- 07-14 09:56:09.874 2816-26724 E C03900/Ace: [Engine Log]Stacktrace:
- 07-14 09:56:09.874 2816-26724 E C03900/Ace: [Engine Log] at func_main_0 (entry
问题描述:
- 其他页面都能正常预览,只有底部tab栏不知为何突然就白屏无法预览。
问题截图:
![cke_344.png](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAgAElEQVR42u1dCXBtVZn+89999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
更多关于HarmonyOS 鸿蒙Next预览器白屏的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
3 回复
您好,预览器需要在@Entry 或 @Preview下使用,可以参考文档
[@developer.huawei.com](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V2/previewer-0000001054328973-V2#section12597164113010)
更多关于HarmonyOS 鸿蒙Next预览器白屏的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
| mytab前缺少注解 | builder |