[LG Optimus G Pro] fokker1984:
What do you mean with delete it? :confused:

I have succesfully decompile it with proper framework from the phone

[B]D:\TEMP>apktool if lge-res.apk[/B]
I: Framework installed to: C:\Users\fokker1984\apktool\framework\2.apk

[B]D:\TEMP\EASY SETTING>apktool d EasySettings.apk[/B]
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\fokker1984\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\fokker1984\apktool\framework\2.apk
I: Loaded.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

[B]D:\TEMP\EASY SETTING>apktool b "EasySettings"[/B]
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\TEMP\EASY SETTING\EasySettings\res\layout\dialog_title_secondlines.xml:4: error: Error: No resource found that matches the given name (at 'style' with value'@*com.lge.internal:style/DialogWindowTitle.Holo.Light').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 19, -F, C:\Users\fokker1984\AppData\Loca
l\Temp\APKTOOL4983023196124094492.tmp, -0, arsc, -I, C:\Users\fokker1984\apktool\framework\1.apk, -I, C:\Users\fokker1984\apktool\framework\2.apk, -S, D:\TEMP\EASY SETTING\EasySettings\res, -M, D:\TEMP\EASY SETTING\EasySettings\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, 17, --target-sdk-version, 19, -F, C:\Users\fokker1984\AppData\Local\Temp\APKTOOL4983023196124094492.tmp, -0, arsc,
-I, C:\Users\fokker1984\apktool\framework\1.apk, -I, C:\Users\fokker1984\apktool\framework\2.apk, -S, D:\TEMP\EASY SETTING\EasySettings\res, -M, D:\TEMP\EASY
SETTING\EasySettings\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, --min-sdk-version, 17, --target-sdk-version, 19, -F, C:\Users\fokker1984\AppData\Local\
Temp\APKTOOL4983023196124094492.tmp, -0, arsc, -I, C:\Users\fokker1984\apktool\framework\1.apk, -I, C:\Users\fokker1984\apktool\framework\2.apk, -S, D:\TEMP\E
ASY SETTING\EasySettings\res, -M, D:\TEMP\EASY SETTING\EasySettings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more

I have successfully decompile it but never succes to re-compile it back, even when i let the source as-is :eek:

EDIT : got it compiled

Try this process:

0. Run if framework ---------> Code: java -jar apktool.jar if framework-res.apk

1. Decompile YourAPK ---------> Code: java -jar apktool.jar d -s YourAPK.apk

2. Open apk file in 7zip (open not extract!)

3. Copy RESSOURCES.arsc to the decompiled dir (YourAPK folder)

4. Recompile YourAPK ---------> Code: java -jar apktool.jar b YourAPK

source : http://xdaforums.com/showthread.php?t=1755243&page=232