鸿蒙ArkTs分享至钉钉坑点雷点

43 阅读1分钟

1、要求API12以上,暂无依赖包,官网说得很清楚了,按照以下官网链接配置好 open.dingtalk.com/document/or… 2、坑点:如果配置后编译有问题,需要在顶级的build-profile.json5,添加"compatibleSdkVersionStage": "beta3",官网没有提及

    "products": [
      {
        "name": "default",
        "signingConfig": "default",
        "compatibleSdkVersion": "5.0.0(12)",
        "compatibleSdkVersionStage": "beta3",
        "runtimeOS": "HarmonyOS",
        "buildOption": {
          "strictMode": {
            'noExternalImportByPath': false,
            "useNormalizedOHMUrl": true
          }
        }
      }
    ],