iBotPeaches / Apktool

A tool for reverse engineering Android apk files
https://apktool.org/
Apache License 2.0
19.44k stars 3.54k forks source link

http://www.whatsapp-plus.net/download.php (APK found here) #753

Closed iBotPeaches closed 9 years ago

iBotPeaches commented 9 years ago

Original issue 643 created by talal.zaki on 2014-06-11T12:13:59.000Z:

when i tried to decompile and change something i cannot back it up again without errors:(:(:(

error codes: java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) I: Checking whether sources has changed... I: Checking whether resources has changed... I: Building resources... D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res\values-v19\styles.xml:7: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'. D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res\values-v19\styles.xml:6: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'. D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res\values-v19\styles.xml:13: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'. D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res\values-v19\styles.xml:12: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'. D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res\values-v19\styles.xml:23: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'. D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res\values-v19\styles.xml:22: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'. D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res\values-v19\styles.xml:27: error: Error: No resource found that matches the given name: attr 'android:searchViewEditQuery'. D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res\values-v19\styles.xml:26: error: Error: No resource found that matches the given name: attr 'android:searchViewVoiceIcon'. Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 7, --target-sdk-version, 19, -F, C:\Users\talal\AppData\Local\Temp\APKTOOL5987003424235982627.tmp, -I, C:\Users\talal\apktool\framework\1.apk, -S, D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res, -M, D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\AndroidManifest.xml] at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358) at brut.androlib.Androlib.buildResources(Androlib.java:283) at brut.androlib.Androlib.build(Androlib.java:206) at brut.androlib.Androlib.build(Androlib.java:176) at brut.apktool.Main.cmdBuild(Main.java:228) at brut.apktool.Main.main(Main.java:79) Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 7, --target-sdk-version, 19, -F, C:\Users\talal\AppData\Local\Temp\APKTOOL5987003424235982627.tmp, -I, C:\Users\talal\apktool\framework\1.apk, -S, D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res, -M, D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336) ... 5 more Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 7, --target-sdk-version, 19, -F, C:\Users\talal\AppData\Local\Temp\APKTOOL5987003424235982627.tmp, -I, C:\Users\talal\apktool\framework\1.apk, -S, D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\res, -M, D:\APK-Multi-Tool\other..\projects\Whatsapp.apk\AndroidManifest.xml] at brut.util.OS.exec(OS.java:89) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355) ... 6 more

What to do please??

iBotPeaches commented 9 years ago

Comment #1 originally posted by connor.tumbleson on 2014-06-11T21:21:55.000Z:

ibotpeaches@raganok:~/Downloads/Apktool/Bug643$ apktool b WhatsAppPLUSv5.77D-211238 I: Using Apktool 2.0.0-584d1c-SNAPSHOT on WhatsAppPLUSv5.77D-211238 I: Checking whether sources has changed... I: Checking whether resources has changed... I: Building resources... I: Copying libs... I: Building apk file... I: Copying unknown files/dir... ibotpeaches@raganok:~/Downloads/Apktool/Bug643$

Could not duplicate.