[Desire Android Development] schmeggy929:
Im pretty sure Im getting the same error, can't execute aapt command. In cmd aapt can run(any directory)

I added this to enviroment variables both system and user.

.;C:\Program Files\Java\jre7\bin;C:\Program Files\Java\jdk1.7.0_05\bin;C:\Users\Schmeggy929\Desktop\xdaAutoTool\bin\

Still will not recompile.

-----------------------------------------------------

[*] SystemUI.apk

-----------------------------------------------------

Recompiling SystemUI.apk folder...

I: Smaling...

I: Building resources...

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/drawable-large-xhdpi

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/drawable-sw600dp-hdpi

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/drawable-sw600dp-mdpi

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/drawable-sw600dp-xhdpi

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/drawable-xhdpi

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/layout-sw600dp

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw320dp-hdpi

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw360dp-hdpi

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw360dp-xhdpi

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw600dp

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw600dp-port

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw720dp

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/values-sw720dp-port

invalid resource directory name: C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res/values-xhdpi

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\SCHMEG~1\AppData\Local\Temp\APKTOOL5142118354928983221.tmp, -I, C:\Users\Schmeggy929\apktool\framework\1.apk, -I, C:\Users\Schmeggy929\apktool\framework\2.apk, -S, C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res, -M, C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\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\SCHMEG~1\AppData\Local\Temp\APKTOOL5142118354928983221.tmp, -I, C:\Users\Schmeggy929\apktool\framework\1.apk, -I, C:\Users\Schmeggy929\apktool\framework\2.apk, -S, C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\res, -M, C:\Users\Schmeggy929\Desktop\xdaAutoTool\_INPUT_APK\SystemUI\AndroidManifest.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)

... 6 more

Done!