[Desire HD Android Development] kifac:
Did exactly that. Same error :/

[*] C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/animator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-land-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-sw600dp-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw360dp-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw400dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw400dp-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-h720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw360dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw360dp-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw400dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw400dp-xhdpi
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-land
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-w1024dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-w1280dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w360dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w480dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w500dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w600dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w720dp
invalid resource directory name: C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-xhdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Martin\AppData\Local\Temp\APKTOOL4609947077632293810.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Martin\AppData\Local\Temp\APKTOOL4609947077632293810.tmp, -x, -S, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more