desword / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
1 stars 0 forks source link

brut.androlib.AndrolibException: Multiple resources: spec=0x7f0e001a style/ContactListFilterTheme, config=-sw600dp #619

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, using 2.0b9 I'm trying to decompile the attached Dialer.apk.

I get the following error message:

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: 
spec=0x7f0e001a style/ContactListFilterTheme, config=-sw600dp
        at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
        at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
        at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:193)
        at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:162)
        at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:128)
        at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:103)
        at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
        at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:604)
        at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
        at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
        at brut.androlib.Androlib.getResTable(Androlib.java:49)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:93)
        at brut.apktool.Main.cmdDecode(Main.java:169)
        at brut.apktool.Main.main(Main.java:85)

Original issue reported on code.google.com by purpl...@gmail.com on 4 Apr 2014 at 3:00

Attachments:

GoogleCodeExporter commented 9 years ago
This APK has non-standard qualifiers.

"holodark"

These are not supported.

Original comment by connor.tumbleson on 6 Apr 2014 at 7:12

GoogleCodeExporter commented 9 years ago
Hi, I'm using the following:

apktool-install-windows-2.2_r01-3.tar.bz2
apktool1.3.2.tar.bz2

to decompile a SystemUI.apk and i get the following error msgs:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

E:\apktool>apktool d SystemUI.apk ./SystemUI
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x7f020032 drawable/ic_sysbar_ime_default, config=-mdpi-v13
        at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
        at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
        at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
        at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
        at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
        at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
        at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
        at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
        at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Sou
rce)
        at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
        at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
        at brut.androlib.Androlib.getResTable(Unknown Source)
        at brut.androlib.ApkDecoder.getResTable(Unknown Source)
        at brut.androlib.ApkDecoder.decode(Unknown Source)
        at brut.apktool.Main.cmdDecode(Unknown Source)
        at brut.apktool.Main.main(Unknown Source)

Any thoughts about the errors and solutions, please. Thanks

Original comment by kram.ev...@gmail.com on 23 Sep 2014 at 8:09