打包APP报错
【设备信息】Mate60
【API版本】Api12
【DevEco Studio版本】5.0.3.700
【问题描述】
有没有什么方法能够找到冲突的包名, 打hap 直接run都没有问题 打app的时候报错
> hvigor ERROR: Failed ::PackageApp...
> hvigor ERROR: Tools execution failed.
2024/08/22 10:03:45.884 - Ohos BundleTool [Error]: Module: (entry) and Module: (entry) have the same moduleName, please check deviceType or distroFilter of the module.
2024/08/22 10:03:45.884 - Ohos BundleTool [Error]: Module: entry has deviceType [phone, tablet, 2in1].
2024/08/22 10:03:45.884 - Ohos BundleTool [Error]: Another Module: entry has deviceType [phone, tablet, 2in1].
2024/08/22 10:03:45.884 - Ohos BundleTool [Error]: Solution: Make sure the module name is valid and unique.
2024/08/22 10:03:45.884 - Ohos BundleTool [Error]: Reference: FAQ.
2024/08/22 10:03:45.884 - Ohos BundleTool [Error]: Compressor::compressFile verify failed, check version, apiVersion,moduleName,packageName.
2024/08/22 10:03:45.884 - Ohos BundleTool [Error]: Compressor::compressAppMode compress failed.
2024/08/22 10:03:45.900 - Ohos BundleTool [Error]: Compressor::compressProcess Bundle exception.
2024/08/22 10:03:45.901 - Ohos BundleTool [Error]: Compressor::compressProcess compress failed.
2024/08/22 10:03:45.901 - Ohos BundleTool [Error]: CompressEntrance::main exit, compress failed
Detail: Please check the message from tools.
> hvigor ERROR: BUILD FAILED in 1 min 9 s 57 ms
- 为了保障您的信息安全,请勿上传您的敏感个人信息(如您的密码等信息)和您的敏感资产信息(如关键源代码、签名私钥、调试安装包、业务日志等信息),且您需自行承担由此产生的信息泄露等安全风险。
- 如您发布的内容为转载内容,请注明内容来源。
我要提问题





































苏公安网备 32011402010933号