[Android Software Development] inimaitimepass:
Error while compiling stock Oreo apks

APKtool v.2.3.0

Java v8.0.1440.1

APKs from Google Stock Oreo Image

These are the errors I get when trying to compile the apk's.

F:\APKMods\APKEdit>apktool b framework-res
I: Using Apktool 2.3.0
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: F:\APKMods\APKEdit\framework-res\res\values\dimens.xml:1: error: Error parsin
g XML: unbound prefix
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec (exit code = 1): [C:\User
s\PC\AppData\Local\Temp\brut_util_Jar_324952147931979634.tmp, p, --forced-p
ackage-id, 1, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 2
6, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\PC\AppData\Loc
al\Temp\APKTOOL24658242155550188.tmp, -x, -0, arsc, -0, arsc, -S, F:\APKMods\APK
Edit\framework-res\res, -M, F:\APKMods\APKEdit\framework-res\AndroidManifest.xml
]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:485)
at brut.androlib.Androlib.buildResources(Androlib.java:419)
at brut.androlib.Androlib.build(Androlib.java:318)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:75)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec (exit code = 1): [C:\Users\PC\AppData\Local\Temp\brut_util_Jar_324952
147931979634.tmp, p, --forced-package-id, 1, --min-sdk-version, 26, --target-sdk
-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors, -
F, C:\Users\PC\AppData\Local\Temp\APKTOOL24658242155550188.tmp, -x, -0, ars
c, -0, arsc, -S, F:\APKMods\APKEdit\framework-res\res, -M, F:\APKMods\APKEdit\fr
amework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:454)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:471)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\
PC\AppData\Local\Temp\brut_util_Jar_324952147931979634.tmp, p, --forced-pac
kage-id, 1, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 26,
--version-name, 8.0.0, --no-version-vectors, -F, C:\Users\PC\AppData\Local
\Temp\APKTOOL24658242155550188.tmp, -x, -0, arsc, -0, arsc, -S, F:\APKMods\APKEd
it\framework-res\res, -M, F:\APKMods\APKEdit\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:448)
... 6 more

F:\APKMods\APKEdit>apktool b SystemUI -c
I: Using Apktool 2.3.0
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: ERROR: 9-patch image F:\APKMods\APKEdit\SystemUI\res\drawable-xxxhdpi\pip_dis
miss_scrim.9.png malformed.
W: No marked region found along edge.
W: Found along left edge.
W: ERROR: Failure processing PNG image F:\APKMods\APKEdit\SystemUI\res\drawable-
xxxhdpi\pip_dismiss_scrim.9.png
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec (exit code = 1): [C:\User
s\PC\AppData\Local\Temp\brut_util_Jar_5197366988640639492.tmp, p, --forced-
package-id, 127, --min-sdk-version, 26, --target-sdk-version, 26, --version-code
, 26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\PC\AppData\
Local\Temp\APKTOOL4238918714618184184.tmp, -0, arsc, -0, arsc, -I, C:\Users\Adha
van\AppData\Local\apktool\framework\1.apk, -S, F:\APKMods\APKEdit\SystemUI\res,
-M, F:\APKMods\APKEdit\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:485)
at brut.androlib.Androlib.buildResources(Androlib.java:419)
at brut.androlib.Androlib.build(Androlib.java:318)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:75)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec (exit code = 1): [C:\Users\PC\AppData\Local\Temp\brut_util_Jar_519736
6988640639492.tmp, p, --forced-package-id, 127, --min-sdk-version, 26, --target-
sdk-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors
, -F, C:\Users\PC\AppData\Local\Temp\APKTOOL4238918714618184184.tmp, -0, ar
sc, -0, arsc, -I, C:\Users\PC\AppData\Local\apktool\framework\1.apk, -S, F:
\APKMods\APKEdit\SystemUI\res, -M, F:\APKMods\APKEdit\SystemUI\AndroidManifest.x
ml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:454)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:471)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\
PC\AppData\Local\Temp\brut_util_Jar_5197366988640639492.tmp, p, --forced-pa
ckage-id, 127, --min-sdk-version, 26, --target-sdk-version, 26, --version-code,
26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\PC\AppData\Lo
cal\Temp\APKTOOL4238918714618184184.tmp, -0, arsc, -0, arsc, -I, C:\Users\PC\AppData\Local\apktool\framework\1.apk, -S, F:\APKMods\APKEdit\SystemUI\res, -M
, F:\APKMods\APKEdit\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:448)
... 6 more

F:\APKMods\APKEdit>

Pls help!!