[BUG]Unable to install Android 12 L Beta 2 framework-res.apk
See original GitHub issueInformation
- Apktool Version (
apktool -version
) - 2.4.1 or 2.6.0, I guess it doesn’t matter… - Operating System (Mac, Linux, Windows) - Windows (using Power Shell)
- APK From? (Playstore, ROM, Other) - redfin Android 12 L Beta 2 official firmware
Stacktrace/Logcat
Exception in thread “main” brut.androlib.AndrolibException: Invalid chunk type: expected=0x00000200, got=0x00000206 at brut.androlib.res.decoder.ARSCDecoder.checkChunkType(ARSCDecoder.java:542) at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:88) at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:82) at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48) at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40) at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:872) at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:854) at brut.androlib.Androlib.installFramework(Androlib.java:707) at brut.apktool.Main.cmdInstallFramework(Main.java:269) at brut.apktool.Main.main(Main.java:82)
Steps to Reproduce
- ‘java -jar .\apktool_2.6.0.jar if .\framework-res.apk’
Questions to ask before submission
- Have you tried
apktool d
,apktool b
without changing anything? N/A - If you are trying to install a modified apk, did you resign it? N/A
- Are you using the latest apktool version? Yes.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top GitHub Comments
I’ve merged updates to aapt2/aapt for these new properties. Still have:
Remaining
Need to add support for
<staging-public-group-final>
which will really only be in AOSP apps as they build against future SDKs, but can easily reassign resources once API stabilizes.We also have 2 new types for overlay and policy.
So working on
issue-2740
branch and just going to skip all data to get disassembling working again, then slowly add support for the types.