[Android Q&A, Help & Troubleshooting] VBCoder101:
Thanks for the great guide & I apologize for having my very first post as a nuissance post but have spent around the past 16 hours playing around with apk files with absolutely no luck whatsoever. I was recommended apktool & found this thread on Google & have followed the instructions in the first post workd for word, even using the example framework-res file but upon recompiling I always end up with this error:

The FULL log of decompiling > recompiling is below if anybody would care to help me spot out some big mistake that I am probably making!

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd C:\Users\username\Desktop\APKTool

C:\Users\username\Desktop\APKTool> java -jar apktool.jar if framework-res.a
pk
I: Framework installed to: C:\Users\username\apktool\framework\127.apk

C:\Users\username\Desktop\APKTool>java -jar apktool.jar d framework-res.apk

I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\username\apktool\framework\1.
apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-mdpi/map_checkmark_bubble.9.png". R
enaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-xhdpi/map_checkmark_bubble.9.png".
Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/map_checkmark_bubble.9.png". R
enaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

C:\Users\username\Desktop\APKTool> java -jar apktool.jar b framework-res N
EWframework-res.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\username\Desktop\APKTool\framewor
k-res\res/drawable-xhdpi
invalid resource directory name: C:\Users\username\Desktop\APKTool\framewor
k-res\res/drawable-xhdpi-v11
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-vers
ion, 15, -F, C:\Users\CHRISD~1\AppData\Local\Temp\APKTOOL5260075789970753389.tmp
, -I, C:\Users\username\apktool\framework\1.apk, -S, C:\Users\username
\Desktop\APKTool\framework-res\res, -M, C:\Users\username\Desktop\APKTool\f
ramework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 8, --target-sdk-version, 15, -F, C:\Users\CHRISD~1\AppData\Local\Temp
\APKTOOL5260075789970753389.tmp, -I, C:\Users\username\apktool\framework\1.
apk, -S, C:\Users\username\Desktop\APKTool\framework-res\res, -M, C:\Users\
username\Desktop\APKTool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
... 6 more

C:\Users\username\Desktop\APKTool>