开发者论坛

标题: OpenHarmony5.0项目,运行过程中偶现报错:The deviceType or apiVersion of the target device does not match that configured in the module.json5 file. [打印本页]

作者: yeyao10    时间: 2024-11-28 18:22
标题: OpenHarmony5.0项目,运行过程中偶现报错:The deviceType or apiVersion of the target device does not match that configured in the module.json5 file.
[md]**【问题描述】**
OpenHarmony5.0项目,运行在自己烧录的开发板上,之前一直都能正常运行,没改任何代码的情况下,过段时间再次运行就报错

报错信息:The deviceType or apiVersion of the target device does not match that configured in the module.json5 file.

相关的代码,截图,日志信息
![](https://forums.openharmony.cn/fo ... es&type=fixnone)

![](https://forums.openharmony.cn/fo ... es&type=fixnone)

我尝试过的解决方法和结果
PAD重启、clean、Rebuild项目都无效

我想要达到的结果
恢复正常运行,不再出现这个错误提示

**【运行环境】**
硬件:OpenHarmony5.0.0.24
DevEvoStudio版本:5.0.3.402
SDK版本:12

[/md]




欢迎光临 开发者论坛 (https://oh-test.qingcheng100.cn/) Powered by Discuz! X3.5