[Android Software/Hacking General [Developers Only]] lukacar1:
Did all exactly as in tutorial but when i try to compile i get this:

java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Win7\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Win7\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout\apps_customize_pane.xml:5: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout-land\launcher.xml:14: error: No resource identifier found for attribute 'importantForAccessibility' in package 'android'
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout-port\launcher.xml:15: error: No resource identifier found for attribute 'importantForAccessibility' in package 'android'
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout-sw720dp\launcher.xml:15: error: No resource identifier found for attribute 'importantForAccessibility' in package 'android'
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout\preference_header_item.xml:9: error: No resource identifier found for attribute 'layout_alignStart' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Win7\AppData\Local\Temp\APKTOOL5265410995317798829.tmp, -I, C:\Users\Win7\apktool\framework\1.apk, -S, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res, -M, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:230)
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, 17, --target-sdk-version, 17, -F, C:\Users\Win7\AppData\Local\Temp\APKTOOL5265410995317798829.tmp, -I, C:\Users\Win7\apktool\framework\1.apk, -S, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res, -M, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Win7\AppData\Local\Temp\APKTOOL5265410995317798829.tmp, -I, C:\Users\Win7\apktool\framework\1.apk, -S, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res, -M, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404)
... 6 more
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout\apps_customize_pane.xml:5: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout-land\launcher.xml:14: error: No resource identifier found for attribute 'importantForAccessibility' in package 'android'
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout-port\launcher.xml:15: error: No resource identifier found for attribute 'importantForAccessibility' in package 'android'
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout-sw720dp\launcher.xml:15: error: No resource identifier found for attribute 'importantForAccessibility' in package 'android'
C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res\layout\preference_header_item.xml:9: error: No resource identifier found for attribute 'layout_alignStart' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Win7\AppData\Local\Temp\APKTOOL8851805599620278094.tmp, -I, C:\Users\Win7\apktool\framework\1.apk, -S, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res, -M, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:230)
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, 17, --target-sdk-version, 17, -F, C:\Users\Win7\AppData\Local\Temp\APKTOOL8851805599620278094.tmp, -I, C:\Users\Win7\apktool\framework\1.apk, -S, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res, -M, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Win7\AppData\Local\Temp\APKTOOL8851805599620278094.tmp, -I, C:\Users\Win7\apktool\framework\1.apk, -S, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\res, -M, C:\Users\Win7\Desktop\APK-Multi-Tool-Stable-RELEASE\other\..\projects\Trebuchet-old.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404)
... 6 more

I tried apktool and ApkMutiTool... Both same error. Did i do something wrong here? I have LG Google Nexus 4 running PAC 20.1.0