lnln1111 / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 0 forks source link

HTC One X Sense 4.0 framework files making issues. #321

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.compile framework-res
2.decompile com.htc.resources

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

apktool 1.4.3, win7 x64

Please provide any additional information below.

C:\decompiling

\apktoolICS>apktool b framework-res f.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\decompiling\apktoolICS\framework-res\res\values\anims.xml:3: error: Found tag
 anim where item is expected
C:\decompiling\apktoolICS\framework-res\res\values\layouts.xml:3: error: Found t
ag layout where item is expected
C:\decompiling\apktoolICS\framework-res\res\values\plurals.xml:79: error: Multip
le substitutions specified in non-positional format; did you mean to add the for
matted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values\plurals.xml:79: error: Found
tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-af\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-af\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-am\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-am\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-ar\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-ar\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-be\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-be\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-bg\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-bg\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-ca\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-ca\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-cs\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-cs\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-da\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-da\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-de\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-de\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-el\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-el\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-es\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-es\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-es-rUS\plurals.xml:79: error:
 Multiple substitutions specified in non-positional format; did you mean to add
the formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-es-rUS\plurals.xml:79: error:
 Found tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-et\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-et\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-fa\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-fa\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-fi\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-fi\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-fr\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-fr\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-hi\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-hi\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-hr\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-hr\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-hu\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-hu\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-in\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-in\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-it\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-it\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-iw\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-iw\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-ja\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-ja\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-ko\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-ko\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-lt\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-lt\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-lv\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-lv\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-ms\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-ms\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-nb\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-nb\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-nl\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-nl\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-pl\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-pl\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-pt\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-pt\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-pt-rPT\plurals.xml:79: error:
 Multiple substitutions specified in non-positional format; did you mean to add
the formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-pt-rPT\plurals.xml:79: error:
 Found tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-ro\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-ro\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-ru\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-ru\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-sk\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-sk\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-sl\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-sl\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-sr\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-sr\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-sv\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-sv\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-sw\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-sw\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-th\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-th\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-tl\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-tl\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-tr\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-tr\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-uk\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-uk\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-vi\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-vi\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-zh-rCN\plurals.xml:79: error:
 Multiple substitutions specified in non-positional format; did you mean to add
the formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-zh-rCN\plurals.xml:79: error:
 Found tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-zh-rTW\plurals.xml:79: error:
 Multiple substitutions specified in non-positional format; did you mean to add
the formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-zh-rTW\plurals.xml:79: error:
 Found tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values-zu\plurals.xml:79: error: Mul
tiple substitutions specified in non-positional format; did you mean to add the
formatted="false" attribute?
C:\decompiling\apktoolICS\framework-res\res\values-zu\plurals.xml:79: error: Fou
nd tag </item> where </plurals> is expected
C:\decompiling\apktoolICS\framework-res\res\values\raws.xml:3: error: Found tag
raw where item is expected
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:6932: error: Publi
c symbol layout/htc_list_item_2text_2stamp declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:6933: error: Publi
c symbol layout/htc_list_item_2text_bright declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:6934: error: Publi
c symbol layout/htc_list_item_image_2text_image_bright declared here is not defi
ned.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:6935: error: Publi
c symbol layout/htc_list_item_imageicon_2text_2stamp declared here is not define
d.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:6936: error: Publi
c symbol layout/htc_list_item_imageicon_text declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:6937: error: Publi
c symbol layout/htc_list_item_separator declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:6938: error: Publi
c symbol layout/keyguard_screen_device_unlock declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:6939: error: Publi
c symbol layout/pin_keyboard declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:7029: error: Publi
c symbol anim/htc_ime_decelerate_interpolator declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:7140: error: Publi
c symbol raw/fallbackring_htc declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:7216: error: Publi
c symbol plurals/wimax_available declared here is not defined.
C:\decompiling\apktoolICS\framework-res\res\values\public.xml:7217: error: Publi
c symbol plurals/wimax_available_detailed declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\J64DD~1.DUO\AppData\Local\
Temp\APKTOOL3464028437739494432.tmp, -x, -S, C:\decompiling\apktoolICS\framework
-res\res, -M, C:\decompiling\apktoolICS\framework-res\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\J64DD~1.DUO\AppData\Local\Temp\APKTOOL3464028437739494432.tmp, -x, -S, C:\d
ecompiling\apktoolICS\framework-res\res, -M, C:\decompiling\apktoolICS\framework
-res\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more

C:\decompiling\apktoolICS>

Original issue reported on code.google.com by jan87.du...@googlemail.com on 6 Apr 2012 at 6:53

GoogleCodeExporter commented 9 years ago
Getting the exact same error trying to recompile framework-res from HTC Evo 4G 
LTE. Any thoughts on this or what else we can try?

Original comment by nick1...@gmail.com on 3 Jun 2012 at 4:04

GoogleCodeExporter commented 9 years ago
Fixed in apktool v1.5.0

Original comment by connor.tumbleson on 16 Nov 2012 at 3:46