Problem with compiling framework-res.apk


Jul 17, 2013
1
0
11
#1
Hello. I want compile MIUI for s3 mini.
But I have this problem:
/home/pegas/MIUI/golden/out/framework-res/res/values/drawables.xml:269: error: Resource entry notification_bg is already defined.
res/drawable/notification_bg.xml:0: Originally defined here.
/home/pegas/MIUI/golden/out/framework-res/res/values/drawables.xml:270: error: Resource entry notification_bg_low is already defined.
res/drawable/notification_bg_low.xml:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4704534383580699164.tmp, -x, -0, arsc, -S, /home/pegas/MIUI/golden/out/framework-res/res, -M, /home/pegas/MIUI/golden/out/framework-res/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, -F, /tmp/APKTOOL4704534383580699164.tmp, -x, -0, arsc, -S, /home/pegas/MIUI/golden/out/framework-res/res, -M, /home/pegas/MIUI/golden/out/framework-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4704534383580699164.tmp, -x, -0, arsc, -S, /home/pegas/MIUI/golden/out/framework-res/res, -M, /home/pegas/MIUI/golden/out/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
make: *** [out/framework-res.apk] Error 1
Pls help me :(