[Android Software Development] chris-89:
Hi @ all

i decompiled the SystemUI from the aoscp ROM (OREO 8.1). Then i have added the DE translation string to the resources.

Then i recompiled it and it failes. The log is attached and also the apk-info log. Hope anybody can help me.

This comes up:

W: ERROR: 9-patch image C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\res\drawable-xxxhdpi\pip_dismiss_scrim.9.png malformed.
W: No marked region found along edge.
W: Found along left edge.
W: ERROR: Failure processing PNG image C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\res\drawable-xxxhdpi\pip_dismiss_scrim.9.png
W: C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\res\values-de\aoscp_strings.xml:52: warning: string 'battery_level_good_sound' marked untranslatable but exists in locale 'de'
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Chris\AppData\Local\Temp\brut_util_Jar_17390202173017285482.tmp, p, --forced-package-id, 127, --min-sdk-version, 27, --target-sdk-version, 27, --version-code, 27, --version-name, 8.1.0, --no-version-vectors, -F, C:\Users\Chris\AppData\Local\Temp\APKTOOL15216398978674964175.tmp, -0, arsc, -0, arsc, -I, C:\Users\Chris\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\res, -M, C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:492)
at brut.androlib.Androlib.buildResources(Androlib.java:426)
at brut.androlib.Androlib.build(Androlib.java:305)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:75)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Chris\AppData\Local\Temp\brut_util_Jar_17390202173017285482.tmp, p, --forced-package-id, 127, --min-sdk-version, 27, --target-sdk-version, 27, --version-code, 27, --version-name, 8.1.0, --no-version-vectors, -F, C:\Users\Chris\AppData\Local\Temp\APKTOOL15216398978674964175.tmp, -0, arsc, -0, arsc, -I, C:\Users\Chris\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\res, -M, C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:456)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Chris\AppData\Local\Temp\brut_util_Jar_17390202173017285482.tmp, p, --forced-package-id, 127, --min-sdk-version, 27, --target-sdk-version, 27, --version-code, 27, --version-name, 8.1.0, --no-version-vectors, -F, C:\Users\Chris\AppData\Local\Temp\APKTOOL15216398978674964175.tmp, -0, arsc, -0, arsc, -I, C:\Users\Chris\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\res, -M, C:\Users\Chris\Documents\APK Easy Tool\1-Decompiled APKs\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:450)
... 6 more

------------------------------------------