Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经用 HarmonyOS SDK 设置了 HUAWEI DevEco Studio,但是无法启动一个新创建的项目:
我想,这可能是一个电话模块,但我有平板电脑硬件。
我该如何改变——或者哪些模块适合“大屏幕”?
我自己找到了;相关配置文件为:entry/src/main/config.json.
entry/src/main/config.json
"deviceType": ["phone"]应该是"deviceType": ["tablet"]。甚至可以将它们组合起来:("deviceType": ["phone", "tablet"]似乎有电话、平板电脑、电视、可穿戴设备、汽车)。然后它失败了INSTALL_FAILED_NO_BUNDLE_SIGNATURE,但这不是问题。
"deviceType": ["phone"]
"deviceType": ["tablet"]
"deviceType": ["phone", "tablet"]
INSTALL_FAILED_NO_BUNDLE_SIGNATURE