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的话 . 能运行. 但是看不了小窗

阅读 540
1 个回答

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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进