[General Questions and Answers] nmegides@icloud.com:
Hello everyone!!;):laugh:;)

I'm trying to delete files from a particular app via apk-multi-tool and apktool and I get full of errors even though I did everything according to the instructions

For example, I wanted to delete the ads, so before I installed the framework,

1. apktool if farmework-res.apk

2. apktool if systemUI.apk

3. apktool d name.apk

Then I went to res-smali-com-google-ads and deleted and got full errors from the moment the decompile

this is A little of what erors I got because I could not upload links

S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/blue_shadow_bottom.9.png

S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/bottom_innerlist_press.9.png

S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/black_middle_idle.9.png

S: Could not decode file, replacing by FALSE value: drawable-hdpi-v4/bottom_last_innerlist.9.png

W: libpng error: [38][20][20][20]: invalid chunk type

W: ERROR: Failure processing PNG image G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res\drawable-hdpi-v4\big_directions_roundabout_uk_s.png

W: libpng error: IHDR: CRC error

W: ERROR: Failure processing PNG image G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res\drawable-hdpi-v4\big_directions_uturn.png

W: libpng error: IHDR: CRC error

W: ERROR: Failure processing PNG image G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res\drawable-hdpi-v4\big_directions_uturn_uk.png

W: libpng error: Not a PNG file

W: ERROR: Failure processing PNG image G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res\drawable-hdpi-v4\big_sounds_off.png

W: libpng error: IHDR: CRC error

W: ERROR: Failure processing PNG image G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res\drawable-hdpi-v4\bigblue_contact_icon.png

W: libpng error: Not a PNG file

W: G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res\values\public.xml:2273: error: Public symbol drawable/x_white_eta_bubble declared here is not defined.

W: G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res\values\public.xml:865: error: Public symbol drawable/zombie declared here is not defined.

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Netanel\AppData\Local\Temp\brut_util_Jar_9174809596146565399.tmp, p, --forced-package-id, 127, --min-sdk-version, 14, --target-sdk-version, 23, --version-code, 1021026, --version-name, 4.2.0.1, -F, C:\Users\Netanel\AppData\Local\Temp\APKTOOL1391045780187086644.tmp, -0, arsc, -0, conf, -0, jav, -0, arsc, -I, C:\Users\Netanel\AppData\Local\apktool\framework\1.apk, -S, G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res, -M, G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:473)

at brut.androlib.Androlib.buildResources(Androlib.java:407)

at brut.androlib.Androlib.build(Androlib.java:306)

at brut.androlib.Androlib.build(Androlib.java:263)

at brut.apktool.Main.cmdBuild(Main.java:224)

at brut.apktool.Main.main(Main.java:84)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Netanel\AppData\Local\Temp\brut_util_Jar_9174809596146565399.tmp, p, --forced-package-id, 127, --min-sdk-version, 14, --target-sdk-version, 23, --version-code, 1021026, --version-name, 4.2.0.1, -F, C:\Users\Netanel\AppData\Local\Temp\APKTOOL1391045780187086644.tmp, -0, arsc, -0, conf, -0, jav, -0, arsc, -I, C:\Users\Netanel\AppData\Local\apktool\framework\1.apk, -S, G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res, -M, G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)

... 5 more

Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Netanel\AppData\Local\Temp\brut_util_Jar_9174809596146565399.tmp, p, --forced-package-id, 127, --min-sdk-version, 14, --target-sdk-version, 23, --version-code, 1021026, --version-name, 4.2.0.1, -F, C:\Users\Netanel\AppData\Local\Temp\APKTOOL1391045780187086644.tmp, -0, arsc, -0, conf, -0, jav, -0, arsc, -I, C:\Users\Netanel\AppData\Local\apktool\framework\1.apk, -S, G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\res, -M, G:\APK-Multi-Tool\APK-Multi-Tool\projects\waze.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:95)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)

... 6 more