sky201503 / android-apktool-1

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

can not be decompiled #355

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi !

This file not be decompiled 
https://www.dropbox.com/s/ecrgdth5ky25jdr/framework-res.apk

with this error:

java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: MANY_BYTES
W: Invalid config flags detected. Dropping resources: style-ERR0
Exception in thread "main" brut.androlib.AndrolibException: Could not decode 
arsc file
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
    at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
    at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
    at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
    at brut.androlib.Androlib.getResTable(Androlib.java:48)
    at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
    at brut.apktool.Main.cmdDecode(Main.java:131)
    at brut.apktool.Main.main(Main.java:68)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000fd3
    at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
    at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:218)
    at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:178)
    at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
    at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
    at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
    at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
    ... 8 more

Original issue reported on code.google.com by almir.abrarov on 20 Nov 2012 at 7:04

GoogleCodeExporter commented 9 years ago
That is an OPPO framework. I will not support those due to the closed source 
nature of the OPPO Company and refusal to provide source to aapt.

As seen here: http://bbs.myoppo.com/forum.php?mod=viewthread&tid=777721

Original comment by connor.tumbleson on 20 Nov 2012 at 11:24

GoogleCodeExporter commented 9 years ago
it's a pity

Original comment by almir.abrarov on 21 Nov 2012 at 6:35

GoogleCodeExporter commented 9 years ago
Maybe here 

http://www.oppothai.com/webboard/forum.php?mod=forumdisplay&fid=29

Original comment by almir.abrarov on 23 Nov 2012 at 12:54

GoogleCodeExporter commented 9 years ago
http://bbs.myoppo.com/forum.php?mod=viewthread&tid=777721

I made a post there asking for source to AAPT. It was declined many times. This 
will probably never change due to OPPO's closed nature. We could sit here and 
sure enough figure out the structure of it, but since this isn't official 
Android. I'm not devoting that time.

Follow up on that link below and let me know if it ever gets released.

Original comment by connor.tumbleson on 19 Dec 2012 at 2:17