Open rashpel77 opened 1 week ago
Well thats odd. Mind opening upstream with smali? https://github.com/google/smali
After parsing the application again, this error occurs. Everything comes together the first time. An error occurs if you edit smali. But apktool 2.93 coped with all the tasks.
Yes why I asked to upstream to smali. We upgraded smali between 2.10 and 2.9 which may be related.
Information
apktool -version
) - 2.10.1_20241110java --version
) - 21.0.2.0Stacktrace/Logcat
"Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.android.tools.smali.dexlib2.util.DexUtil$InvalidFile: Unexpected container offset in header at brut.androlib.ApkDecoder.decode(SourceFile:0) at brut.apktool.Main.main(SourceFile:0) Caused by: java.util.concurrent.ExecutionException: com.android.tools.smali.dexlib2.util.DexUtil$InvalidFile: Unexpected container offset in header at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) ... 2 more"
Steps to Reproduce
apktool
--use-aapt1 -b -papktool
--use-aapt1 -d -pFrameworks
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
If this APK can be freely shared, please upload/attach a link to it. https://cloud.mail.ru/public/WVtg/vofudoRVp
Questions to ask before submission
apktool d
,apktool b
without changing anything? Yes