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"

相关推荐
安卓开发者1 小时前
鸿蒙NEXT自定义能力详解:从基础使用到高级技巧
华为·harmonyos
特立独行的猫a3 小时前
HarmonyOS 鸿蒙系统自带的 SymbolGlyph 图标组件详解
华为·harmonyos·图标·symbolglyph
2501_919749033 小时前
鸿蒙:使用EventHub实现多模块之间的通信
华为·harmonyos
2501_919749039 小时前
鸿蒙:使用Emitter进行线程间通信
华为·harmonyos
SuperHeroWu711 小时前
【HarmonyOS 6】仿AI唤起屏幕边缘流光特效
华为·harmonyos·特效·鸿蒙6.0·流光·ai唤起·屏幕边缘
gcios12 小时前
鸿蒙-flutter 混合开发
harmonyos
特立独行的猫a12 小时前
HarmonyOS应用开发之界面列表不刷新问题Bug排查记:从现象到解决完整记录
华为·bug·harmonyos·ui刷新
安卓开发者13 小时前
鸿蒙Next的UI国际化与无障碍适老化实践:构建全球包容的数字世界
ui·华为·harmonyos
爱笑的眼睛111 天前
深入剖析 HarmonyOS ArkUI 声明式开发:状态管理艺术与最佳实践
华为·harmonyos
安卓开发者1 天前
鸿蒙NEXT交互机制解析:从输入设备到手势响应的全面指南
microsoft·交互·harmonyos