Error: The current device does not contain the following SysCap attributes in the rpcid.json file
开发环境:
DevEco Studio Next beta1
Openharmony SDK 12(5.0.0.68)
RK3568-DAYU200
编译成功,但打包到开发板时报错1
2
3
4The current device does not contain the following SysCap attributes in the rpcid.json file:
SystemCapability.Sercurity.xxx
...
Make sure the device supports all the SysCap attributes required for running the app
缓兵之计:
删除DevEco Studio的编译SDK中ets/api/define-device/default.json
中相关栏
default.json
可替换为其他设备类型.json
同理
ets/api/define-device-common
js/api/define-device
中的相关栏也要删除
根治:
相应的在编译烧录前在相同位置添加相关栏
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Ali5669!
评论