扫描官方示例程序,是可以体验到skyline和worklet的
但自己写的小程序项目(包括官方示例模板),在开发工具上是可以运行skyline和worklet,但在手机上预览,始终是webview渲染,且worklet提示platform not support
System: Android 11, WeChat 8.0.25.2200
Network: wifi
UA: Mozilla/5.0 (Linux; Android 11; V2073A Build/RP1A.200720.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/4293 MMWEBSDK/20220706 Mobile Safari/537.36 MMWEBID/4153 MicroMessenger/8.0.25.2200(0x2800193B) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64 MiniProgramEnv/android
WeChatLib: 2.25.2 (2022.7.27 11:42:58)
Subpackag
es: N/A
报错信息:
MiniProgramError\nworklet mechanism cannot be used, platform not support\nError: worklet mechanism cannot be used, platform not support\nat Me (WAServiceMainContext.js:1:537167)\nat We (WAServiceMainContext.js:1:539673)\nat Object.z [as shared] (WAServiceMainContext.js:1:482960)\nat l.emit (WAServiceMainContext.js:1:737112)\nat Object.emit (WAServiceMainContext.js:1:733863)\nat (WAServiceMainContext.js:1:2297056)\nat l.<anonymous> (WAServiceMainContext.js:1:1606183)\nat l.emit (WAServiceMainContext.js:1:737210)\nat Object.emit (WAServiceMainContext.js:1:733863)\nat (WAServiceMainContext.js:1:768148)
你好,麻烦提供下ua
https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/migration/
需要在小程序的开发与调试里面切换下渲染模式