Open USS-Corvan opened 9 months ago
I 've tried searching and found #3251 , I believe the apk mentioned there is created by the same author. The issue mentioned in #3251 still exist in 2.9.3 on my side, I don't know whether it's related with java version or something else like the apk itself. Furthermore, I have tried apktool -f d com.YoStarJP.AzurLane1.apk --only-main-classes . The log is the same with or without the parameter "--only-main-classes".
I 've tried searching and found #3251 , I believe the apk mentioned there is created by the same author. The issue mentioned in #3251 still exist in 2.9.3 on my side, I don't know whether it's related with java version or something else like the apk itself. Furthermore, I have tried apktool -f d com.YoStarJP.AzurLane1.apk --only-main-classes . The log is the same with or without the parameter "--only-main-classes".
classes13.dex is not a real dex file, you can check it with notepad++. It's not work when you're using parameter "--only-main-classes", because classes in the classes13.dex are all main classes.
Thanks for report. I believe we could get away with adding handling for detecting NotADexFile
, but then we need to adjust build support to have a mix of raw and disassembled files.
Skill issue
I worked a patch to skip dex disassembly errors, but there are many in this application.
classes1.dex
- invalid dexclasses13.dex
- just an empty dex file.I opened an issue upstream at smali for first while I debate what to do. Since after I skipped disassembly of failures then corresponding build method failed badly. Apktool had never had a mix of original/disassembled for dex files so this is a bigger can of worms than I thought.
Information
apktool -version
) - 2.9.3java --version
) - 18.0.2 2022-07-19Stacktrace/Logcat
Steps to Reproduce
apktool d [apk]
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
If this APK can be freely shared, please upload/attach a link to it. signed version:
https://apkadmin.com/zv80h7ocyuw0/com.YoStarJP.AzurLane_7.1.12_signed_mod_YasKashije_platinmods.com.apk.html
unsigned version:https://apkadmin.com/sec0yz8f9fyz/com.YoStarJP.AzurLane_7.1.12_unsigned_mod_YasKashije_platinmods.com.apk.html
Questions to ask before submission
Have you tried
apktool d
,apktool b
without changing anything? Couldn't finish decoding.If you are trying to install a modified apk, did you resign it? I tried both the signed and unsigned version, both failed.
Are you using the latest apktool version? Yes.