[G1 Android Development] memnoc:
it seems that in sense 3.6 android 4.0.3 apktool it's just completely useless!! I'm stuck in resizment cause there's no one tool able to recompile any apk properly..i keep getting error since apktool if framework-res.apk and com.htc.resources....than, with a lot of errors the apk it's decompiled, but if i try to recompile even if the apk is untouched, a lot of flag size errors comes, dist folder isn't created, and re-compile is ****ed up...i'm really in trouble with this..hope someone could help cause i tried 1 million solutions..

C:\Users\Matteo\Desktop\ICS_APKTOOL\ICS_APKTOOL>apktool d DockMode.apk
I: Baksmaling...
testI: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: style-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: style-ERR1
W: Config flags size > 36. Exceeding bytes: 0x3000000.
W: Invalid config flags detected. Dropping resources: style-ERR2
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: style-ERR3
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: style-ERR4
I: Loaded.
I: Loading resource table from file: C:\Users\Matteo\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR16
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Matteo\apktool\framework\2.apk
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: integer-hdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR32
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

C:\Users\Matteo\Desktop\ICS_APKTOOL\ICS_APKTOOL>apktool b Dockmode Dockmode.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Matteo\Desktop\ICS_APKTOOL\ICS_APKTOOL\Dockmode\res\layout-hdpi\idle_sh
ortcut_select_ap.xml:5: error: Error: No resource found that matches the given n
ame (at 'style' with value '@style/title_primary').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Matteo\AppData\Local\Temp\
APKTOOL4514473618047692391.tmp, -I, C:\Users\Matteo\apktool\framework\1.apk, -I,
C:\Users\Matteo\apktool\framework\2.apk, -S, C:\Users\Matteo\Desktop\ICS_APKTOO
L\ICS_APKTOOL\Dockmode\res, -M, C:\Users\Matteo\Desktop\ICS_APKTOOL\ICS_APKTOOL\
Dockmode\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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, C:\U
sers\Matteo\AppData\Local\Temp\APKTOOL4514473618047692391.tmp, -I, C:\Users\Matt
eo\apktool\framework\1.apk, -I, C:\Users\Matteo\apktool\framework\2.apk, -S, C:\
Users\Matteo\Desktop\ICS_APKTOOL\ICS_APKTOOL\Dockmode\res, -M, C:\Users\Matteo\D
esktop\ICS_APKTOOL\ICS_APKTOOL\Dockmode\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

C:\Users\Matteo\Desktop\ICS_APKTOOL\ICS_APKTOOL>