sky201503 / android-apktool-1

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

Mac Apktool/aapt Can't Decompile Sense ICS files #327

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a Mac
2. Try to decompile Sense ICS (Anything but framework-res I think)
3.

What is the expected output? What do you see instead?
Expected output: Decompiled apk

What I see: 

I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: 
spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
    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:196)
    at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
    at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
    at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
    at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
    at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
    at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
    at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
    at brut.androlib.Androlib.getResTable(Androlib.java:44)
    at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
    at brut.apktool.Main.cmdDecode(Main.java:120)
    at brut.apktool.Main.main(Main.java:57)

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

Mac OSX. Apktool 1.4.3 and Mac Pack r04
Please provide any additional information below.

Original issue reported on code.google.com by dmeadows...@gmail.com on 30 Apr 2012 at 1:01

GoogleCodeExporter commented 9 years ago
Fixed in Apktool v1.4.9

Original comment by connor.tumbleson on 16 Nov 2012 at 1:18