desword / android-apktool

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

Error Installing framework #616

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.apktool if framework-res.apk
2.
3.

What is the expected output? What do you see instead?
c:\Android\apktool>apktool if framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01030000 style/Animation, config=[DEFAULT]
        at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
        at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
        at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)

        at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170
)
        at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
        at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:11
0)
        at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
        at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:562)
        at brut.androlib.Androlib.installFramework(Androlib.java:473)
        at brut.apktool.Main.cmdInstallFramework(Main.java:250)
        at brut.apktool.Main.main(Main.java:81)

What version of the product are you using? On what operating system?
apktool 1.5.2
Windows 7 64 bits

Please provide any additional information below.
When I try to install the framework-res.apk, it throws the error mentioned 
above.

Thanks for your help

Original issue reported on code.google.com by eduardo....@gmail.com on 27 Mar 2014 at 8:42

Attachments:

GoogleCodeExporter commented 9 years ago
Has unknown / non-standard res folders.

EX:

color-samsung
drawable-iphone

These are invalid. Apktool cannot handle this.

Original comment by connor.tumbleson on 29 Mar 2014 at 6:54