- Mar 12, 2013
- 14
- 15
Hey guys,
I'm having a funny problem in compiling miui framework with apktool,
here it is:
Have any Idea? Please share it
Thanks in advance
I'm having a funny problem in compiling miui framework with apktool,
here it is:
Code:
apktool b out/framework-miui-res out/framework-miui-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: /home/sijav/Desktop/patchrom/nypone/out/framework-miui-res/res/drawable-largeui-hdpi
invalid resource directory name: /home/sijav/Desktop/patchrom/nypone/out/framework-miui-res/res/values-largeui-xhdpi
invalid resource directory name: /home/sijav/Desktop/patchrom/nypone/out/framework-miui-res/res/drawable-largeui-xhdpi
invalid resource directory name: /home/sijav/Desktop/patchrom/nypone/out/framework-miui-res/res/values-largeui-hdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL8916500702804855339.tmp, -x, -I, /home/sijav/apktool/framework/1.apk, -I, /home/sijav/apktool/framework/2.apk, -I, /home/sijav/apktool/framework/3.apk, -I, /home/sijav/apktool/framework/4.apk, -I, /home/sijav/apktool/framework/5.apk, -S, /home/sijav/Desktop/patchrom/nypone/out/framework-miui-res/res, -M, /home/sijav/Desktop/patchrom/nypone/out/framework-miui-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/APKTOOL8916500702804855339.tmp, -x, -I, /home/sijav/apktool/framework/1.apk, -I, /home/sijav/apktool/framework/2.apk, -I, /home/sijav/apktool/framework/3.apk, -I, /home/sijav/apktool/framework/4.apk, -I, /home/sijav/apktool/framework/5.apk, -S, /home/sijav/Desktop/patchrom/nypone/out/framework-miui-res/res, -M, /home/sijav/Desktop/patchrom/nypone/out/framework-miui-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Have any Idea? Please share it
Thanks in advance