duplicate value for resource 'attr/fabSize' with config ''

博客指出将Gradle从4.4升级到4.6会引发问题,提醒不要随意进行此类升级,强调了升级版本需谨慎,避免因版本升级带来不必要的麻烦。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

gradle 4.4升级到4.6导致,以后千万不要乱升级。

W: /private/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/apk-editor-studio/apk/{1977b623-a100-4f76-afae-7053ee06ebdb}/res/values/styles.xml:37: error: duplicate value for resource 'style/AppTheme' with config ''. W: /private/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/apk-editor-studio/apk/{1977b623-a100-4f76-afae-7053ee06ebdb}/res/values/styles.xml:37: error: resource previously defined here. W: /private/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/apk-editor-studio/apk/{1977b623-a100-4f76-afae-7053ee06ebdb}/res/values/styles.xml: error: file failed to compile. Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/brut_util_Jar_85166856452839036568589470528685767624.tmp, compile, --dir, /private/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/apk-editor-studio/apk/{1977b623-a100-4f76-afae-7053ee06ebdb}/res, --legacy, -o, /private/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/apk-editor-studio/apk/{1977b623-a100-4f76-afae-7053ee06ebdb}/build/resources.zip] at brut.androlib.AaptInvoker.invoke(SourceFile:0) at brut.androlib.ApkBuilder.buildResources(SourceFile:0) at brut.androlib.ApkBuilder.build(SourceFile:0) at brut.apktool.Main.main(SourceFile:0) Caused by: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/brut_util_Jar_85166856452839036568589470528685767624.tmp, compile, --dir, /private/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/apk-editor-studio/apk/{1977b623-a100-4f76-afae-7053ee06ebdb}/res, --legacy, -o, /private/var/folders/_v/jglmw7fs1x52hg6m1h3brh2c0000gn/T/apk-editor-studio/apk/{1977b623-a100-4f76-afae-7053ee06ebdb}/build/resources.zip] at brut.util.OS.exec(SourceFile) ... 4 more. 使用apk editor studio 打包apk出现上面的错误 是什么原因
最新发布
06-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值