debug; 4.1Release; 应用;
系统版本: 4.1-Release
DevEco Studio版本: 4.0 Release (build:4.0.0.600)
SDK版本: 4.0.10.13(及以上)
设备型号: 开发者手机
在适配开发者手机4.1Release应用过程中,发现分发中心能成功安装,但是无法正常启动。
开发者手机4.1Release版本系统参数const.security.developermode.state
为空,而解压分发中心hap时发现其module.json
的debug
配置为true
{
"app": {
···
"debug": true,
···
},
}
编译构建分发中心时,IDE的Build<span> </span>Mode
改为release
(默认为<None>
)。
在设备shell空间里执行
param set const.security.developermode.state 1
更多回帖