We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

安装HAP时提示“code:9568257 error: fail to verify pkcs7 file”

问题现象

在启动调试或运行应用/服务时,安装HAP出现错误,提示“error: fail to verify pkcs7 file”错误信息。

解决措施

出现该问题的原因是应用当前使用的签名不符合HarmonyOS应用签名要求。通常是由于当前使用的是OpenHarmony应用的签名,需替换为HarmonyOS应用的签名。

请在为应用/服务签名时勾选“Support HarmonyOS”,完成HarmonyOS应用签名后再次启动调试或运行应用。

Search
Enter a keyword.