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 分钟前
【共创稿事节】HarmonyOS 7.0 Native XComponent与FFI:从接入到生产验证
harmonyos·profiler·hitracemeter·性能追踪·时间线
redtank20001 小时前
纯血鸿蒙本地电子书阅读器实测:九格式支持、沉浸阅读与零联网隐私设计
华为·harmonyos
贾伟康2 小时前
【共创稿事节】HarmonyOS 7.0 HiSysEvent系统事件订阅:从接入到生产验证
harmonyos·可观测性·hisyevent·系统事件·后台优化
独隅4 小时前
HarmonyOS 系统能力与体验深度评测 - 超详细版
华为·harmonyos
懿路向前5 小时前
唤醒工作台全实录(六):数据层——5ms 竞态窗口与“查询即引用“
华为·架构·harmonyos
KevinChaos5 小时前
灶台菜谱设计手记 04|HarmonyOS 7.0 空间化:信息折叠展开
harmonyos
贾伟康7 小时前
【共创稿事节】HarmonyOS 7.0 HiTraceChain分布式调用链:从接入到生产验证
分布式·harmonyos·可观测性·调用链·hitracechain
熊猫钓鱼>_>18 小时前
碰一碰无网近场文件快传与断点续传【鸿蒙心迹】
华为·交互·harmonyos·arkts·鸿蒙·openharmony·鸿蒙心迹
hhhjhl1 天前
开源鸿蒙平台 KMP_CMP 三方库「Clikt」适配全流程
华为·开源·harmonyos
熊猫钓鱼>_>1 天前
四种书签,一条时间线:一个读书 App 的记忆颗粒与它的边界案例【鸿蒙心迹】
开发语言·华为·ai编程·harmonyos·鸿蒙·openharmony·鸿蒙pc