Apktool
Apktool copied to clipboard
[BUG] Recompilation error on "Hungry Shark Evolution" APK after decompiling with Apktool
trafficstars
Information
- Apktool Version (
apktool -version) - v2.11.1-20-a08eabb5-SNAPSHOT - Operating System (Windows)
- APK From? (Playstore)
Stacktrace/Logcat
C:\Users\pc\Downloads\MEmu Download\Games>java -jar apktool.jar d -m -f HungrySharkEvo.apk
I: Using Apktool v2.11.1-20-a08eabb5-SNAPSHOT on HungrySharkEvo.apk with 8 threads
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Loading resource table...
I: Baksmaling assets/audience_network.dex...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\pc\AppData\Local\apktool\framework\1.apk
I: Decoding values */* XMLs...
I: Decoding AndroidManifest.xml with resources...
I: Copying original files...
I: Copying assets...
I: Copying lib...
I: Copying unknown files...
C:\Users\pc\Downloads\MEmu Download\Games>java -jar apktool.jar b -o newApk.apk HungrySharkEvo
I: Using Apktool v2.11.1-20-a08eabb5-SNAPSHOT on HungrySharkEvo.apk with 8 threads
I: Checking whether sources have changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources have changed...
I: Checking whether sources have changed...
I: Checking whether sources have changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Smaling smali_assets folder into assets.dex...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether resources have changed...
I: Building resources with aapt2...
W: C:\Users\pc\Downloads\MEmu Download\Games\HungrySharkEvo\res\xml\appsflyer_backup_rules.xml.meta:1: error: syntax error.
W: C:\Users\pc\Downloads\MEmu Download\Games\HungrySharkEvo\res\xml\appsflyer_backup_rules.xml.meta: error: file failed to compile.
Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\pc\AppData\Local\Temp\brut_util_Jar_176107265156199050971313808596442632119.tmp, compile, --dir, C:\Users\pc\Downloads\MEmu Download\Games\HungrySharkEvo\res, --legacy, -o, C:\Users\pc\Downloads\MEmu Download\Games\HungrySharkEvo\build\resources.zip]
at brut.androlib.AaptInvoker.invoke(SourceFile:105)
at brut.androlib.ApkBuilder.buildResources(SourceFile:325)
at brut.apktool.Main.main(SourceFile:96)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\pc\AppData\Local\Temp\brut_util_Jar_176107265156199050971313808596442632119.tmp, compile, --dir, C:\Users\pc\Downloads\MEmu Download\Games\HungrySharkEvo\res, --legacy, -o, C:\Users\pc\Downloads\MEmu Download\Games\HungrySharkEvo\build\resources.zip]
at brut.util.OS.exec(SourceFile:148)
at brut.androlib.AaptInvoker.invoke(SourceFile:101)
... 2 more
Steps to Reproduce
apktool
APK
You can download it easily on apkpure (Hungry Shark Evolution)
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