[Android Software Development] JBO0560:
Hello,

I've downloaded the latest files from the OP and installed all the frameworks (including the dummys for miui).

But I've read that there are some special aapt files for miui but every link provided directs me to the files from the OP :(

Everything worksout fine until I'm trying to recompile the "MiuiHome.apk" from the new Miui v5...or is this version not supported by now ?

The errors start with "W: Could not find resources"

C:\Users\JBO\Desktop\apk>apktool b MiuiHome MiuiHome2.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\JBO\Desktop\apk\MiuiHome\res/drawable-
largeui-xhdpi
invalid resource directory name: C:\Users\JBO\Desktop\apk\MiuiHome\res/values-la
rgeui-hdpi
invalid resource directory name: C:\Users\JBO\Desktop\apk\MiuiHome\res/values-la
rgeui-xhdpi
invalid resource directory name: C:\Users\JBO\Desktop\apk\MiuiHome\res/values-w3
20dp-hugeui-hdpi
invalid resource directory name: C:\Users\JBO\Desktop\apk\MiuiHome\res/values-w3
20dp-largeui-hdpi
invalid resource directory name: C:\Users\JBO\Desktop\apk\MiuiHome\res/values-w3
60dp-hugeui-xhdpi
invalid resource directory name: C:\Users\JBO\Desktop\apk\MiuiHome\res/values-w3
60dp-largeui-hdpi
invalid resource directory name: C:\Users\JBO\Desktop\apk\MiuiHome\res/values-w3
60dp-largeui-xhdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\JBO\AppData\Local\Temp\A
PKTOOL2435093612450156853.tmp, -0, arsc, -I, C:\Users\JBO\apktool\framework\1.ap
k, -I, C:\Users\JBO\apktool\framework\6.apk, -S, C:\Users\JBO\Desktop\apk\MiuiHo
me\res, -M, C:\Users\JBO\Desktop\apk\MiuiHome\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\JBO\AppData\Local\Temp\APKTOOL2435093612450156853.tmp, -0, arsc, -I, C:\U
sers\JBO\apktool\framework\1.apk, -I, C:\Users\JBO\apktool\framework\6.apk, -S,
C:\Users\JBO\Desktop\apk\MiuiHome\res, -M, C:\Users\JBO\Desktop\apk\MiuiHome\And
roidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\JBO\AppData\Local\Temp\APK
TOOL2435093612450156853.tmp, -0, arsc, -I, C:\Users\JBO\apktool\framework\1.apk,
-I, C:\Users\JBO\apktool\framework\6.apk, -S, C:\Users\JBO\Desktop\apk\MiuiHome
\res, -M, C:\Users\JBO\Desktop\apk\MiuiHome\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more

Hopefully someone can handle this error :)