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"

相关推荐
Z***258010 小时前
HarmonyOS在物联网场景的应用
物联网·华为·harmonyos
Pocker_Spades_A12 小时前
John the Ripper 在 HarmonyOS 上的构建与适配
华为·harmonyos
不爱吃糖的程序媛13 小时前
鸿蒙PC Electron 打印服务实现详解
华为·electron·harmonyos
开源头条16 小时前
2025开源鸿蒙开发者激励计划正式启动,为生态繁荣注入持久动力
华为·开源·harmonyos
奔跑的露西ly19 小时前
【HarmonyOS NEXT】自定义样式复用
华为·harmonyos
lqj_本人19 小时前
HarmonyOS + Cordova:打包发布与环境差异常见问题指南
华为·harmonyos
不羁的木木19 小时前
【开源鸿蒙跨平台开发学习笔记】Day03:React Native 开发 HarmonyOS-GitCode口袋工具开发-1
笔记·学习·harmonyos
lqj_本人19 小时前
鸿蒙Cordova开发踩坑记录:震动反馈的“时差“
华为·harmonyos
lqj_本人21 小时前
鸿蒙原生与Qt混合开发:性能优化与资源管理
qt·harmonyos
lqj_本人21 小时前
鸿蒙Qt字体实战:消灭“豆腐块“乱码与自定义字体加载
qt·华为·harmonyos