[Android Themes] mathsz:
Hello, if possible, I would like some help.

I'm on an lg optimus g (95% like nexus 4) running aosp 4.3 jss1

I've followed the guide, tried 4 or 5 times, created the redirections.xml, edited apktool.yml.

When I try to build, here is the error I get:

APKTOOL3703717077370502325.tmp, -0, arsc, -I, C:\Users\home\apktool\framework\1.
apk, -S, C:\APK-Multi-Tool\other\..\projects\SampleTheme.apk\res, -M, C:\APK-Mul
ti-Tool\other\..\projects\SampleTheme.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:
\Users\home\AppData\Local\Temp\APKTOOL3703717077370502325.tmp, -0, arsc, -I, C:\
Users\home\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\Samp
leTheme.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\SampleTheme.apk\Android
Manifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 15, --target-sdk-version, 15, -F, C:\Users\home\AppData\Local\Temp\AP
KTOOL3703717077370502325.tmp, -0, arsc, -I, C:\Users\home\apktool\framework\1.ap
k, -S, C:\APK-Multi-Tool\other\..\projects\SampleTheme.apk\res, -M, C:\APK-Multi
-Tool\other\..\projects\SampleTheme.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
res\xml\com_android_gallery3d_app_Gallery.xml: Invalid file name: must contain o
nly [a-z0-9_.]
res\xml\com_android_gallery3d_app_GalleryAppImpl.xml: Invalid file name: must co
ntain only [a-z0-9_.]
res\xml\com_android_gallery3d_app_GalleryAppImpl.xml: Invalid file name: must co
ntain only [a-z0-9_.]
res\xml\com_android_gallery3d_app_GalleryAppImpl.xml: Invalid file name: must co
ntain only [a-z0-9_.]
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 9, --target-sdk-version, 9, -F, C:\Users\home\AppData\Local\Temp\AP
KTOOL2204077168101817966.tmp, -0, arsc, -I, C:\Users\home\apktool\framework\1.ap
k, -S, C:\APK-Multi-Tool\other\..\projects\SampleTheme.apk\res, -M, C:\APK-Multi
-Tool\other\..\projects\SampleTheme.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 9, -F, C:\U
sers\home\AppData\Local\Temp\APKTOOL2204077168101817966.tmp, -0, arsc, -I, C:\Us
ers\home\apktool\framework\1.apk, -S, C:\APK-Multi-Tool\other\..\projects\Sample
Theme.apk\res, -M, C:\APK-Multi-Tool\other\..\projects\SampleTheme.apk\AndroidMa
nifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 9, --target-sdk-version, 9, -F, C:\Users\home\AppData\Local\Temp\APKT
OOL2204077168101817966.tmp, -0, arsc, -I, C:\Users\home\apktool\framework\1.apk,
-S, C:\APK-Multi-Tool\other\..\projects\SampleTheme.apk\res, -M, C:\APK-Multi-T
ool\other\..\projects\SampleTheme.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)

What would you need to help me?

Big thanks in advance.