releaseType not same

问题现象

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

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“

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐