[Android Software Development] JovieBrett:
Can you please help me what is the problem with recompiling framework-res.apk?

Here's the error log (option 26)

--------------------------------------------------------------------------
|Tue 06/04/2013 -- 16:03:56.67|
--------------------------------------------------------------------------
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
A subdirectory or file modified-system-apk-files-here already exists.
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\jovie\Downloads\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.ap
k\res\values\ids.xml:384: error: Resource entry date_line is already defined.
C:\Users\jovie\Downloads\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.ap
k\res\values\ids.xml:181: Originally defined here.
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\jovie\AppData\Local\Temp
\APKTOOL2224045693798507857.tmp, -x, -0, arsc, -S, C:\Users\jovie\Downloads\APK-
Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res, -M, C:\Users\jovie\Dow
nloads\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\AndroidManifest.
xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
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\jovie\AppData\Local\Temp\APKTOOL2224045693798507857.tmp, -x, -0, arsc, -S
, C:\Users\jovie\Downloads\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.
apk\res, -M, C:\Users\jovie\Downloads\APK-Multi-Tool-Stable-RELEASE\projects\fra
mework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 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\jovie\AppData\Local\Temp\A
PKTOOL2224045693798507857.tmp, -x, -0, arsc, -S, C:\Users\jovie\Downloads\APK-Mu
lti-Tool-Stable-RELEASE\projects\framework-res.apk\res, -M, C:\Users\jovie\Downl
oads\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\AndroidManifest.xm
l]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:404)
... 6 more
Press any key to continue . . .

I'm trying to recompile my framework-res.apk (from CM10 Xperia Mini) with some .xml modification changes and added some .png files to drawable mdpi folder, just following an instruction from a MOD thread here on XDA. I downloaded the API 16 from SDK and still, nothing happens. I always got "An error occured blah blah blah check option 26" But when I tried the other framework-res.apk from my stock Samsung rom, works without errors when I de and recompile it. Hoping to give me some answers about this, thanks in advance.