-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[BUG]Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file #2824
Comments
... |
Confirmed. Marking as bug. Must be a new iteration of sparse resources or a new type. |
@dishcheng 我刚开始弄,寻思研究研究,jar拿到了,没资源文件不行啊。刚用2.6.0试试,发现还是不行。再往前退版本,你试了么。是因为没有框架文件么? |
@iBotPeaches I have the same problem,How should I solve it,thanks |
Same issue even with version 2.7 |
In case it helps same stack trace also occurs on TTlock apk: https://m.apkpure.com/ttlock/com.tongtongsuo.app |
An interesting technique. It seems we have a duplicate resource at the end of the chunk with no corresponding value. Its quite small and Apktool made an assumption that it would always have a ResValue if a non-empty specId was encountered.
You can see the last style is only size 3. So we can design a patch to skip value reading and return null if the size is small. |
PR above will close this once merged. |
Information
apktool -version
) -2.6.1Stacktrace/Logcat
apktool d -f -s xxxx.apk
Steps to Reproduce
apktool
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(
.apks
that live in/system/framework
or/system/priv-app
)APK
Questions to ask before submission
apktool d
,apktool b
without changing anything? yesThe text was updated successfully, but these errors were encountered: