-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid chunk type #2099
Comments
Damn this apk is weird. It has like 60+ dynamic references.
Confirmed. |
any updates? |
Bukalapak
Bukalapak is one of the biggest E-Commerce company in Indonesia, it makes sense they have lots of dynamic feature. And maybe they have their own protection against APK Reverse Engineering? |
MT manager app on Android can bypass this error. Editing arsc file and save it will fix the problem for apktool.jar Full tutorial: https://platinmods.com/threads/how-to-fix-apktool-decompile-error-using-mt-manager-app-arscdecoder-error.121708/ |
Hello, I have the same issue with my universal-apk. I use bundletool to generate the apk, or also with android studio gradle task for universal apk "packageMyAppDebugUniversalApk" My goal is to extract language resources strings.xml for each country |
Still having this issue with APKs is there any update on this? |
Is this an issue with Android App Bundle APKs particularly? I keep running into APKs that cause apktool to throw this error more often, and App Bundle is going to be made mandatory sometime in 2021. |
I need more knowledge how to reproduce these dynamic ref tables in a small application that I control so I can see the before (before build) and identify the parameters that aapt/aapt2 uses to produce this then I can compare to the built binary. The chunk error is here, but I'm more concerned with the multiple packages within one resources.arsc. It seems Apktool never properly supported those. You can see with the following issue. |
This is partially fixed so I'm closing this ticket. It now decodes without issue after the merge of #2527 However, it as shown below has multiple packages per resources.arsc which is an ongoing issue being tracked here - #2514
|
Hi @iBotPeaches, When this fix will roll out in production release ? We are waiting for it. Any tentative timeline ? Thanks. |
@iBotPeaches Hi there, In Apktool 2.5.0 I'm getting the same error: brut.androlib.AndrolibException: Invalid chunk type: expected=0x00000200, got=0x00000203 Is this issue solved in unreleased builds? |
This is in 2.5.1 - not released yet. |
Since 2.5.1 has not released, I worked-around with this tutorial. Hope it helps someone. |
Still Having this issue, Any update? |
Update on this? |
What is there to update? My last message is clear. It is in 2.5.1. |
When will 2.5.1 be released then? @iBotPeaches |
Unknown at this time. There are blockers at play preventing a release and no ETA on fixes. |
Thank you! Could you share the commit that fix this, so we can build a hotfix version locally? @iBotPeaches |
Sorry man, but this just seems odd. Did you read this bug report you responded to? I responded earlier with all the details here (#2099 (comment)) and that link included the PR (#2527) that I marked as fixing a good portion of this ticket. However, why just pluck a singular commit? I'm sure you'll want the other fixes and enhancements in the master branch vs 1 commit for 1 issue. I can't predict what 1 commit applied on top of 2.5.0 will even do. Then finally, we've been building builds for each commit to master under the "Build" job. You can see the last commit to master job trigged a binary and archived it here - https://github.com/iBotPeaches/Apktool/actions/runs/1002640994 so you don't really need to build them locally. You can test bleeding edge builds for every master commit. |
@iBotPeaches , it would be so nice if you could let me know by when release 2.5.1 will be out. Thanks |
It is hard-blocked forever until Mac builds. AOSP building SDK Tools is becoming quite tough and/or impossible. |
this is still happening |
Information
Apktool Version (apktool -version) - v2.4.0
Operating System (Mac, Linux, Windows) - Windows and Linux
APK From? (Playstore, ROM, Other) - Google Play store
https://play.google.com/store/apps/details?id=com.bukalapak.android&hl=in
The text was updated successfully, but these errors were encountered: