HarmonyOS(55) error: install releaseType target not same 解决方案

releaseType not same

问题现象

在DevEco Studio 链接真机运行时发现如下错误:

dart 复制代码
09/06 08:40:45:905: Install Failed: error: failed to install bundle.
code:9568258
error: install releaseType not same.
09/06 08:40:45:966: View detailed instructions.
09/06 08:40:45:966: You can also uninstall and reinstall the modules.
09/06 08:40:46:126: $ hdc shell rm -rf data/local/tmp/e3fb05986767480ca0c0654abc0f61c7
09/06 08:40:46:127: Launch com.xxx.app failed, starting handle failure progress
Error while Deploy Hap

ctrl+shit+F搜了下releaseType发下如下信息:releaseType的值是Beta2

解决方法

查看手机系统信息,发现手机系统是Beta1,如下图:

然后点击上面的检查更新按钮,更新到Beta2就可以了,更新后如下图:

参考资料

安装HAP时提示"code:9568258 error: install releaseType target not same"

相关推荐
奔跑的露西ly6 小时前
【鸿蒙 HarmonyOS NEXT】popup弹窗
华为·harmonyos
OH五星上将11 小时前
OpenHarmony(鸿蒙南向开发)——轻量和小型系统三方库移植指南(一)
嵌入式硬件·移动开发·harmonyos·openharmony·鸿蒙开发·鸿蒙移植
codes2345778915 小时前
鸿蒙开发之ArkTS 界面篇 一
harmonyos·arkts·harmonyos next·deveco-studio·鸿蒙界面·鸿蒙界面入门·鸿蒙 index.ets
HarmonyOS_SDK17 小时前
免弹窗、预授权,默认界面扫码能力打造系统级扫码体验
harmonyos
追风小老头折腾程序20 小时前
实战06-LazyForEach
harmonyos
让开,我要吃人了20 小时前
OpenHarmony鸿蒙( Beta5.0)摄像头实践开发详解
驱动开发·华为·移动开发·harmonyos·鸿蒙·鸿蒙系统·openharmony
OH五星上将1 天前
如何编译OpenHarmony SDK API
嵌入式硬件·移动开发·api·sdk·harmonyos·openharmony·鸿蒙开发
像风一样自由20201 天前
深入了解HarmonyOS(鸿蒙操作系统)
华为·harmonyos
青瓷看世界1 天前
华为HarmonyOS地图服务 -- 如何实现地图呈现?-- HarmonyOS自学8
华为·harmonyos
看山还是山,看水还是。1 天前
鸿蒙OS 线程间通信
android·java·开发语言·笔记·华为·c#·harmonyos