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"

相关推荐
Bert丶seven12 小时前
鸿蒙Harmony实战开发教学(No.7)-Image组件基础到进阶篇
华为·harmonyos·arkts·鸿蒙·鸿蒙系统·arkui·开发教学
Bert丶seven18 小时前
鸿蒙Harmony实战开发教学(No.6)-Search组件基础到进阶篇
华为·harmonyos·arkts·鸿蒙·鸿蒙系统·arkui·开发教学
万少18 小时前
HarmonyOS6 应用升级经验分享
harmonyos
蓝冰印18 小时前
HarmonyOS Next 快速参考手册
linux·ubuntu·harmonyos
流影ng18 小时前
【HarmonyOS】并发线程间的通信
typescript·harmonyos
君逸臣劳21 小时前
【Harmony Next】手把手撸一个支持高度自定义的Toast
harmonyos
安卓开发者1 天前
鸿蒙NEXT传感器开发概述:开启智能感知新时代
华为·harmonyos
安卓开发者1 天前
鸿蒙NEXT按键拦截与监听开发指南
华为·harmonyos
2503_928411561 天前
10.13 Tabs选项卡布局
华为·harmonyos·鸿蒙