java.lang.SecurityException: META-INF/XX.SF has invalid digest 解决办法


错误日志

07-01 10:02:34.363: W/PackageParser(149): Exception reading res/layout/main.xml in /data/app/vmdl-1867810970.tmp
07-01 10:02:34.363: W/PackageParser(149): java.lang.SecurityException: META-INF/YULORE.SF has invalid digest for res/drawable-xhdpi/ic_launcher.png in /data/app/vmdl-1867810970.tmp
07-01 10:02:34.363: W/PackageParser(149): 	at java.util.jar.JarVerifier.invalidDigest(JarVerifier.java:131)
07-01 10:02:34.363: W/PackageParser(149): 	at java.util.jar.JarVerifier.verifyCertificate(JarVerifier.java:350)
07-01 10:02:34.363: W/PackageParser(149): 	at java.util.jar.JarVerifier.readCertificates(JarVerifier.java:258)
07-01 10:02:34.363: W/PackageParser(149): 	at java.util.jar.JarFile.getInputStream(JarFile.java:378)
07-01 10:02:34.363: W/PackageParser(149): 	at android.content.pm.PackageParser.loadCertificates(PackageParser.java:362)
07-01 10:02:34.363: W/PackageParser(149): 	at android.content.pm.PackageParser.collectCertificates(PackageParser.java:550)
07-01 10:02:34.363: W/PackageParser(149): 	at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:6772)
07-01 10:02:34.363: W/PackageParser(149): 	at com.android.server.pm.PackageManagerService.access$1500(PackageManagerService.java:158)
07-01 10:02:34.363: W/PackageParser(149): 	at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:5309)
07-01 10:02:34.363: W/PackageParser(149): 	at android.os.Handler.handleCallback(Handler.java:605)
07-01 10:02:34.363: W/PackageParser(149): 	at android.os.Handler.dispatchMessage(Handler.java:92)
07-01 10:02:34.363: W/PackageParser(149): 	at android.os.Looper.loop(Looper.java:137)
07-01 10:02:34.363: W/PackageParser(149): 	at android.os.HandlerThread.run(HandlerThread.java:60)
07-01 10:02:34.363: E/PackageParser(149): Package com.baidu.locTest has no certificates at entry res/layout/main.xml; ignoring!



评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值