HarmonyOS 引入@ohos.nfc.tag
编译报错:The default system capabilities of devices phone, tablet, 2in1 do not include SystemCapability.Communication.NFC.Tag. Configure the capabilities in syscap.json. <ArkTSCheck> 怎么解决。
HarmonyOS
赞
收藏 0
回答 1
待解决
相关问题
HarmonyOS import tag from '@ohos.nfc.tag'提示设备不支持该能力
1250浏览 • 1回复 待解决
HarmonyOS 项目中import tag from '@ohos.nfc.tag';会报红,而且接口也用不了
1708浏览 • 1回复 待解决
HarmonyOS NFC,tag.getTagInfo(want);这个方法无法编译
1012浏览 • 1回复 待解决
HarmonyOS 引入nfc模块的controller爆红
817浏览 • 1回复 待解决
HarmonyOS API引入从@kit与@ohos有哪些不同
2463浏览 • 1回复 待解决
JS引入import deviceInfo from '@ohos.deviceInfo'失败
7969浏览 • 1回复 待解决
ohos.multimodalInput.inputMonitor无法引入什么原因啊?
3207浏览 • 1回复 待解决
convertxml 无法解析 子 tag 中的子 tag element 数据
1608浏览 • 1回复 待解决
HarmonyOS AVMuxer如何设置codec tag
993浏览 • 1回复 待解决
有两个模块@ohos.screen和@ohos.screenshot 在应用里引入不了?
651浏览 • 0回复 待解决
有两个模块@ohos.screen和@ohos.screenshot 在应用里引入不了
1151浏览 • 1回复 待解决
HarmonyOS hilog打印TAG是不是有长度限制,设置的TAG被截断了
1190浏览 • 1回复 待解决
.** 与 @ohos.** 现在sdk pd1 推荐使用哪种引入方式?随着api迭代升级 @ohos.**引入方式会不会废弃
3738浏览 • 1回复 待解决
HarmonyOS是否支持NFC能力,NFC能力如何使用
1516浏览 • 1回复 待解决
HarmonyOS NFC透传
1050浏览 • 1回复 待解决
HarmonyOS NFC读卡失败
1108浏览 • 1回复 待解决
HarmonyOS 引入报错
593浏览 • 1回复 待解决
引入自定义组件就报错说"xxx tag is not supported "
5078浏览 • 1回复 待解决
HarmonyOS NFC方案如何实现
1023浏览 • 1回复 待解决
NFC开发,HarmonyOS设备触碰nfc标签触发操作拉起应用,并把nfc标签数据传递过来
1951浏览 • 1回复 待解决
HarmonyOS 钱包NFC接口对接
1636浏览 • 1回复 待解决
HarmonyOS ohpm install命令使用tag安装时无法识别
1024浏览 • 1回复 待解决
HarmonyOS手机如何使用nfc功能
1609浏览 • 1回复 待解决
HarmonyOS nfc读取设备存储信息
963浏览 • 1回复 待解决
HarmonyOS手机如何使用nfc功能?
967浏览 • 0回复 待解决
报错提示是不包括SystemCapability.Communication.NFC.Tag,需要syscap.json中配置。可参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/syscap-V5#pcid%E5%AF%BC%E5%85%A5