[XPERIA X8 General] junixquiaoit:
got this error when compiling. anyone know how to fix this? im trying to use minicm3.0.1?

junix@ubuntu:~/WORKING_DIRECTORY/shakira$ make
>>> Install framework resources for apktool...
install framework-miui-res.apk
/home/junix/WORKING_DIRECTORY/tools/apktool --quiet if /home/junix/WORKING_DIRECTORY/miui/system/framework/framework-miui-res.apk
unzip >/dev/null MiniCM9-3.0.1-shakira.zip "system/framework/*.apk" -d out
install out/system/framework/framework-res.apk
<<< install framework resources completed!
>>> build out/framework-res.apk...
add miui overlay resources
/home/junix/WORKING_DIRECTORY/tools/remove_redef.py >/dev/null out/framework-res
/home/junix/WORKING_DIRECTORY/tools/apktool --quiet b out/framework-res out/framework-res.apk
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-w720dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-sw600dp-land
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-w480dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-sw600dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/drawable-sw600dp-mdpi
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-w600dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/layout-sw600dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/layout-w600dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-w360dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-h720dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-sw600dp-w1280dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-sw600dp-w1024dp
invalid resource directory name: /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res/values-w500dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL60963921028441511.tmp, -x, -S, /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res, -M, /home/junix/WORKING_DIRECTORY/shakira/out/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, /tmp/APKTOOL60963921028441511.tmp, -x, -S, /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/res, -M, /home/junix/WORKING_DIRECTORY/shakira/out/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [out/framework-res.apk] Error 1