iBotPeaches / Apktool

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

I got this problem when recompile with apk-multitool #772

Closed iBotPeaches closed 9 years ago

iBotPeaches commented 9 years ago

Original issue 663 created by hollywood.nn on 2014-08-03T15:44:49.000Z:

I just simply Extract the apk and recompile it again without doing anything and I got this Type of ERROR (Show in below) . How should I fix it?????


Fri 08/01/2014 -- 21:39:59.12

java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) Client VM (build 25.5-b02, mixed mode, sharing) Could Not Find C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\place-apk-here-for-modding../place-apk-here-for-modding/signedg.apk Could Not Find C:\Users\BLACK SPIDER\Desktop\Apk_Manager502\place-apk-here-for-modding../place-apk-here-for-modding/unsignedg.apk I: Baksmaling... I: Loading resource table... W: Config flags size > 32. Exceeding bytes: -1FFF0000. W: Invalid config flags detected. Dropping resources: bool-v13-ERR0 W: Config flags size > 32. Exceeding bytes: -2FFE0000. W: Invalid config flags detected. Dropping resources: bool-v13-ERR1 W: Config flags size > 32. Exceeding bytes: 58020000. W: Invalid config flags detected. Dropping resources: dimen-v13-ERR2 W: Config flags size > 32. Exceeding bytes: 68010000. W: Invalid config flags detected. Dropping resources: integer-v13-ERR3 W: Config flags size > 32. Exceeding bytes: -BFF0000. W: Invalid config flags detected. Dropping resources: integer-v13-ERR4 W: Config flags size > 32. Exceeding bytes: 58020000. W: Invalid config flags detected. Dropping resources: integer-v13-ERR5 I: Loaded. I: Loading resource table from file: C:\Users\BLACK SPIDER\apktool\framework\1.apk I: Loaded. I: Decoding file-resources... I: Decoding values/_ XMLs... I: Done. I: Copying assets and libs... I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:101: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:149: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:192: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:208: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base.DropDownItem'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:234: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:241: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Light.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:260: error: Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:293: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values-v14\styles.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'. C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res\values\styles.xml:487: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Base'. Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\BLACKS~1\AppData\Local\Temp\APKTOOL1621044071463513521.tmp, -I, C:\Users\BLACK SPIDER\apktool\framework\1.apk, -S, C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res, -M, C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301) at brut.androlib.Androlib.buildResources(Androlib.java:248) at brut.androlib.Androlib.build(Androlib.java:171) at brut.androlib.Androlib.build(Androlib.java:154) at brut.apktool.Main.cmdBuild(Main.java:174) at brut.apktool.Main.main(Main.java:59) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\BLACKS~1\AppData\Local\Temp\APKTOOL1621044071463513521.tmp, -I, C:\Users\BLACK SPIDER\apktool\framework\1.apk, -S, C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\res, -M, C:\Users\BLACK SPIDER\Desktop\Apk_Manager_502\other..\projects\g.apk\AndroidManifest.xml] at brut.util.OS.exec(OS.java:83) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191) ... 6 more

iBotPeaches commented 9 years ago

Comment #1 originally posted by connor.tumbleson on 2014-08-04T11:53:36.000Z:

Please search next time.

iBotPeaches commented 9 years ago

Comment #2 originally posted by hollywood.nn on 2014-08-04T20:11:41.000Z:

Hello. I have uploaded that file hope you to modify it for me. I want to change the bitcoin address link and share it to my friends. That's just has around 1 MB, but I have to upload it for about 2 to 5 hours because of our connection. My bitcoin address is 1CpByT2mLUGmrag4dAEqQe7zF5Nw5w6jpi and hope you to edit it for me. I can't understand anythings that you say above. I am just a starer in this section. I don't understand any about programming. I just follow the formula to edit this and that's take around 1 month. It still not complete. I hope someone will help me.

Thanks alot.