HarmonyOS @ohos.nfc.controller模块不存在,无法引用?

APP需要调用NFC功能,

按照官方文档import controller from '@ohos.nfc.controller’报错The default system capabilities of devices phone, tablet, 2in1 do not include SystemCapability.Communication.NFC.Core. Configure the capabilities in syscap.json. <ArkTSCheck\>

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