JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

报错 To run and debug the Harmony device, configure the HarmonyOS runtime.

发布时间 2024-01-09 13:49:09作者: 巫山老妖

 

这个工程是OpenHarmony工程,你的设备是HarmonyOS设备。可以按照这个方法试试:

在模块下的build-profile.json5文件中的target数组下添加"runtimeOS": "HarmonyOS",然后重新签名,签名的时候勾选supportHarmony

如图

 重新签名打包就可以运行了

 

    本栏目推荐文章
  • AtCoder World Tour 2022 B The Greatest Two
  • Introducing the incident management
  • A connection was successfully established with the server but then an error
  • An improved LSTM-based model for identifying high working intensity load segments of the tractor load spectrum
  • web项目启动时dubbo报错: No provider available for the service com.davidhu.shopguide.api.service.UserEventService from the url zookeeper ://localhost:2181/org.apache.du
  • 初中英语优秀范文100篇-056I have the courage to accept the challenge-我有勇气接受挑战
  • org.springframework.kafka.listener.ListenerExecutionFailedException: Listener method could not be invoked with the incoming message
  • redis报错MISCONF Errors writing to the AOF file: No space left on device,磁盘满无法写入数据报错
  • [linux kernel] struct pid && the way the kernel used to cast uint32_t pid to struct task_struct
  • 持续构建行业影响力|HarmonyOS SDK荣膺年度“技术卓越”奖项
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们