kennylee26 / android-apktool

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

can't d and install framework-res.apk #676

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
G:\apktool>apktool d framework-res.apk
I: Using Apktool 2.0.0-dirty on framework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01030128 style/Theme.DeviceDefault, config=[DEFAULT]
        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:10
3)
        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(AndrolibRes
ources.java:607)
        at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:74)
        at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:66)
        at brut.androlib.Androlib.getResTable(Androlib.java:52)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:94)
        at brut.apktool.Main.cmdDecode(Main.java:169)
        at brut.apktool.Main.main(Main.java:85)

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by loo...@163.com on 1 Sep 2014 at 11:29

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 1 Sep 2014 at 11:30

GoogleCodeExporter commented 9 years ago
same error for me, i am using win 7 32 bit and apktool 1.5.2

Original comment by shivamjo...@gmail.com on 10 Sep 2014 at 8:50