HarmonyOS the deviceType not match thar config in tge module.json5?

pad小窗测试,发现工程内deviceType不配置tablet. 无法以小窗形式运行项目. 报如下错误.

the deviceType not match thar config in tge module.json5,

如果配置 deviceType 添加 tablet的话 . 能运行. 但是看不了小窗

阅读 539
1 个回答

在module.json文件里面 orientation属性设置为portrait相关,即可使应用为小窗方式打开