Apktool
Apktool copied to clipboard
[BUG] dex version changed after compilation.
trafficstars
Information
- Apktool Version (
apktool_2.10.0_20240708) - - Operating System (Windows 11 x64) -
- APK From? (Duolingo) -
- Java Version (
Java 8 Update 411) -
Steps to Reproduce
- Just decompile and then recompile, dex version changed from v39 original to v40.
- This will break compatibility with all devices with android 10 or lower. App will install, but FC on startup.
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) NO
APK
https://play.google.com/store/apps/details?id=com.duolingo https://www.apkmirror.com/apk/duolingo/duolingo-duolingo/duolingo-duolingo-5-159-4-release/
Questions to ask before submission
- Have you tried
apktool d,apktool bwithout changing anything? YES - If you are trying to install a modified apk, did you resign it? YES
- Are you using the latest apktool version? YES
Apktool doesn't have much control over this - it must be occurring from upstream smali. Theres been some changes lately related to this exact thing, but for API29-ish. Have a look at these and see if you need to submit something upstream
- https://github.com/google/smali/pull/56
- https://github.com/google/smali/pull/55