HarmonyOS 鸿蒙Next:【DevEco Studio】修复报错方案:Error Encryption failed. Delete the material folder where the .p12 file is located and select Auto
HarmonyOS 鸿蒙Next:【DevEco Studio】修复报错方案:Error Encryption failed. Delete the material folder where the .p12 file is located and select Auto
【问题描述】
我在使用鸿蒙开发者工具DevEco Studio时,在运行真机应用时遇到了一个问题。当我点击“OK”按钮时,出现了一个错误提示:“Error Encryption failed. Delete the material folder where the .p12 file is located and select Automatically generate signature to re-sign the file.”(错误 加密失败。删除包含.p12文件的物料文件夹,并选择自动生成签名以重新签名文件。)
【解决方案】
删除物料文件夹并重新生成签名。
关于HarmonyOS 鸿蒙Next:【DevEco Studio】修复报错方案:Error Encryption failed. Delete the material folder where the .p12 file is located and select Auto的问题,您也可以访问:https://www.itying.com/category-93-b0.html 联系官网客服。
5 回复
物料文件夹 在哪里
最新版本 DevEco Studio 5.0.3.404 不需要那么麻烦了。 直接重新签名就行。 如果还不行,找到项目根目录 build-profile.json5 文件,删除"signingConfigs"再重新自动签名试试。
感谢,实践成功了。
和签名文件同目录下生成的文件夹material,删掉就能重新签名
感谢,我还以为p12文件出问题了