hbuildx 4.35alpha 版
鸿蒙API12 5.0.0
从4.29升级到4.35后运行到鸿蒙出现未知错误:
查看源码得知:在打包后的鸿蒙libs中UniAppRuntime.har静态库有默认增加第三方库videocompressor。
然而出现,查看videocompressor源码库中并没有使用@entry标识入口。只是个工具类.。
不明白这个报错由何处引起的。求解。谢谢!
**1 ERROR: ArkTS:ERROR oh_modules/.ohpm/@ohos+videocompressor@soegz02lhnnihit14ad03wcy4dhlg8y+cdslhkqxb5s=/oh_modules/@ohos/videocompressor/src/main/ets/components/mainpage/CompressorResponse.ets
A page configured in 'main_pages.json or build-profile.json5' must have one and only one '@Entry' decorator.
- Try the following:
Please make sure that the splash page has one and only one '@Entry' decorator.
截图如下:**