OpenHarmony系统hap包单例属性校验
原创
OpenHarmony3.1系统启动是只有少数系统服务启动起来,但是有大部分服务无法启动,究其原因是hap包配置文件中服务单例属性未设置,默认为非单例启动属性。hap包中module.json如下:{"app":{"apiReleaseType":"Canary1","bundleName":"com.ohos.launcher","debug":true,"distributedNotificationEnabled":true,"icon":"$media:appicon","iconId":16777217,"keepAlive":true,"label":"$string:appname","labelId":16777216,"minAPI...