[G 2014 Q&A, Help & Troubleshooting] KING_ADDY:
ok so i read how to port home button animations fro google pixel to other phones so i decided to try it out on my moto g 2014 running CM 14.1

i downloaded latest apktool and also installed latest java runtime but whenever i try to recompile my systemui.apk after decompiling andporting the recources it gives error

K:\1pixel_project\m\Apktool>java -jar apktool.jar b SystemUI -c

I: Using Apktool 2.2.1

I: Checking whether resources has changed...

I: Building resources...

W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2126: error: Error

retrieving parent for item: No resource found that matches the given name '@and

roid:style/TextAppearance.StatusBar'.

W:

W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2127: error: Error

retrieving parent for item: No resource found that matches the given name '@and

roid:style/TextAppearance.StatusBar'.

W:

W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2132: error: Error

retrieving parent for item: No resource found that matches the given name '@and

roid:style/TextAppearance.StatusBar'.

W:

W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2142: error: Error

retrieving parent for item: No resource found that matches the given name '@and

roid:style/TextAppearance.StatusBar'.

W:

W: K:\1pixel_project\m\Apktool\SystemUI\res\values\styles.xml:2352: error: Error

retrieving parent for item: No resource found that matches the given name '@and

roid:style/Theme.DeviceDefault.Light.Dialog.NoActionBar.FixedSize'.

W:

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl

ibException: brut.common.BrutException: could not exec (exit code = 1): [C:\User

s\almash\AppData\Local\Temp\brut_util_Jar_6240443644379257488.tmp, p, --forced-p

ackage-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code,

25, --version-name, 7.1, -F, C:\Users\almash\AppData\Local\Temp\APKTOOL88538327

96008194591.tmp, -0, arsc, -0, arsc, -I, C:\Users\almash\AppData\Local\apktool\f

ramework\1.apk, -S, K:\1pixel_project\m\Apktool\SystemUI\res, -M, K:\1pixel_proj

ect\m\Apktool\SystemUI\AndroidManifest.xml]

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

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

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

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

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

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not

exec (exit code = 1): [C:\Users\almash\AppData\Local\Temp\brut_util_Jar_6240443

644379257488.tmp, p, --forced-package-id, 127, --min-sdk-version, 25, --target-s

dk-version, 25, --version-code, 25, --version-name, 7.1, -F, C:\Users\almash\App

Data\Local\Temp\APKTOOL8853832796008194591.tmp, -0, arsc, -0, arsc, -I, C:\Users

\almash\AppData\Local\apktool\framework\1.apk, -S, K:\1pixel_project\m\Apktool\S

ystemUI\res, -M, K:\1pixel_project\m\Apktool\SystemUI\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:439)

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

... 5 more

Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\

almash\AppData\Local\Temp\brut_util_Jar_6240443644379257488.tmp, p, --forced-pac

kage-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 2

5, --version-name, 7.1, -F, C:\Users\almash\AppData\Local\Temp\APKTOOL8853832796

008194591.tmp, -0, arsc, -0, arsc, -I, C:\Users\almash\AppData\Local\apktool\fra

mework\1.apk, -S, K:\1pixel_project\m\Apktool\SystemUI\res, -M, K:\1pixel_projec

t\m\Apktool\SystemUI\AndroidManifest.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:433)

... 6 more

i am running windows 8.1 ... please someone help me what i am doing wrong

probabaly its a noobish mistake

PLEASE HELP:crying::confused::(:(:confused::confused: