[Android Software Development] Ticklefish:
This sort of question comes up a lot. Less experienced users see a long collection of error messages and perhaps get a little overwhelmed. Some of us would look at that text and try to work out what the issue is. Some of us would look at it, scream in horror and come running here for help.

There's nothing wrong with being a novice user, we all have to start somewhere, but it can be a little frustrating for the more experienced ones if somebody asks for help. From our perspective it's clear what's causing the error and what needs to be done to solve it. The guys in this thread are helpful, but I have seen other threads where the response is normally "Look at the error and fix it yourself".

Where I'm headed with this is, is there anyway to lay out the error text a little differently so that it's more obvious what's going on?

Something like this perhaps (without the red colour):

P:\apktools>java -jar apktool.jar b systemui
I: Using Apktool 2.3.1
I: Checking whether resources has changed...
I: Building resources...

[COLOR="Red"]W:ERROR: Unable To Build File, Please Fix Below Errors And Try Again:
--------------------------------------[/COLOR]

W: ERROR: 9-patch image P:\apktools\systemui\res\drawable-xxhdpi\pip_dismiss_scrim.9.png malformed.
W: No marked region found along edge.
W: Found along left edge.
W: ERROR: Failure processing PNG image P:\apktools\systemui\res\drawable-xxhdpi\pip_dismiss_scrim.9.png

[COLOR="Red"]--------------------------------------[/COLOR]

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Freaker\AppData\Local\Temp\brut_util_Jar_8873714607550886075.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\Freaker\AppData\Local\Temp\APKTOOL3928923474042695385.tmp, -0, arsc, -0, arsc, -I, C:\Users\Freaker\AppData\Local\apktool\framework\1.apk, -S, P:\apktools\systemui\res, -M, P:\apktools\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\Freaker\AppData\Local\Temp\brut_util_Jar_8873714607550886075.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\Freaker\AppData\Local\Temp\APKTOOL3928923474042695385.tmp, -0, arsc, -0, arsc, -I, C:\Users\Freaker\AppData\Local\apktool\framework\1.apk, -S, P:\apktools\systemui\res, -M, P:\apktools\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\Freaker\AppData\Local\Temp\brut_util_Jar_8873714607550886075.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\Freaker\AppData\Local\Temp\APKTOOL3928923474042695385.tmp, -0, arsc, -0, arsc, -I, C:\Users\Freaker\AppData\Local\apktool\framework\1.apk, -S, P:\apktools\systemui\res, -M, P:\apktools\systemui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:450)
... 6 more

It's just an idea. Feel free to tell me it won't work. But it might help. Even if it just means people come to us saying that they have a malformed png and they don't know what to do to fix it. They're more likely to get assistance than if they just say they have an error.

What do you reckon, [MENTION=3924617]iBotPeaches[/MENTION]?