Related
I'm trying to edit some of the files in framework-res and other system files. I am able to successfully decomp and recomp anything from the system/app folder, however, when I get to framework-res.apk, it gives me a lot of errors (pasted below). At first, I thought it was something that I was doing wrong in editing an xml file, but then I tried simply decompiling and then immediately recompiling the file, and got the same errors.
I have the very latest version of apktool and aapt with framework-res.apk installed into the program and the latest SDK. The only thing I think might be an issue is that I'm using files from 4.02. Not sure if this even makes a difference.
Any advice?
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\owner\Desktop\Nexus\apktool>apktool b framework-res framework-edit.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values\plurals.xml:
79: error: Multiple substitutions specified in non-positional format; did you me
an to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values\plurals.xml:
79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-bg\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-bg\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ca\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ca\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-cs\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-cs\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-da\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-da\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-de\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-de\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-el\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-el\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-en-rGB\plura
ls.xml:79: error: Multiple substitutions specified in non-positional format; did
you mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-en-rGB\plura
ls.xml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-es\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-es\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-es-rUS\plura
ls.xml:79: error: Multiple substitutions specified in non-positional format; did
you mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-es-rUS\plura
ls.xml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-fi\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-fi\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-fr\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-fr\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-hr\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-hr\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-hu\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-hu\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-in\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-in\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-it\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-it\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ja\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ja\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ko\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ko\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-lt\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-lt\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-lv\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-lv\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-nb\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-nb\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-nl\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-nl\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-pl\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-pl\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-pt\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; diExcep
tion in thread "main" brut.androlib.AndrolibException: brut.common.BrutException
: could not exec command: [aapt, p, -F, C:\DOCUME~1\owner\LOCALS~1\Temp\APKTOOL1
245866895833091365.tmp, -x, -S, C:\Documents and Settings\owner\Desktop\Nexus\ap
ktool\fr\res, -M, C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\Andro
idManifest.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:\D
OCUME~1\owner\LOCALS~1\Temp\APKTOOL1245866895833091365.tmp, -x, -S, C:\Documents
and Settings\owner\Desktop\Nexus\apktool\fr\res, -M, C:\Documents and Settings\
owner\Desktop\Nexus\apktool\fr\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
d you mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-pt\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-pt-rPT\plura
ls.xml:79: error: Multiple substitutions specified in non-positional format; did
you mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-pt-rPT\plura
ls.xml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ro\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ro\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ru\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-ru\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-sk\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-sk\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-sl\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-sl\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-sr\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-sr\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-sv\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-sv\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-tl\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-tl\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-tr\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-tr\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-uk\plurals.x
ml:79: error: Multiple substitutions specified in non-positional format; did you
mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-uk\plurals.x
ml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-zh-rCN\plura
ls.xml:79: error: Multiple substitutions specified in non-positional format; did
you mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-zh-rCN\plura
ls.xml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-zh-rTW\plura
ls.xml:79: error: Multiple substitutions specified in non-positional format; did
you mean to add the formatted="false" attribute?
C:\Documents and Settings\owner\Desktop\Nexus\apktool\fr\res\values-zh-rTW\plura
ls.xml:79: error: Found tag </item> where </plurals> is expected
C:\Documents and Settings\owner\Desktop\Nexus\apktool>
I'm having the same issues, it seems to be a problem with the aapt binary.
The Gingerbread aapt gave this error:
Code:
X:\android\crt>apktool b -f framework-res
W: Could not find sources
I: Building resources...
invalid resource directory name: X:\android\crt\framework-res\res/drawable-sw600
dp-hdpi
invalid resource directory name: X:\android\crt\framework-res\res/layout-sw600dp
invalid resource directory name: X:\android\crt\framework-res\res/layout-w600dp
invalid resource directory name: X:\android\crt\framework-res\res/values-h720dp
invalid resource directory name: X:\android\crt\framework-res\res/values-sw600dp
invalid resource directory name: X:\android\crt\framework-res\res/values-sw600dp
-land
invalid resource directory name: X:\android\crt\framework-res\res/values-sw600dp
-w1024dp
invalid resource directory name: X:\android\crt\framework-res\res/values-sw600dp
-w1280dp
invalid resource directory name: X:\android\crt\framework-res\res/values-w360dp
invalid resource directory name: X:\android\crt\framework-res\res/values-w480dp
invalid resource directory name: X:\android\crt\framework-res\res/values-w500dp
invalid resource directory name: X:\android\crt\framework-res\res/values-w600dp
invalid resource directory name: X:\android\crt\framework-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Cj\AppData\Local\Temp\APKT
OOL6979654477300252838.tmp, -x, -S, X:\android\crt\framework-res\res, -M, X:\and
roid\crt\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\Cj\AppData\Local\Temp\APKTOOL6979654477300252838.tmp, -x, -S, X:\android\cr
t\framework-res\res, -M, X:\android\crt\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
The ICS aapt, same framework to recompile(4.0.3), now gives this:
Code:
X:\android\crt>apktool b -f framework-res
W: Could not find sources
I: Building resources...
X:\android\crt\framework-res\res\values\plurals.xml:79: error: Multiple substitu
tions specified in non-positional format; did you mean to add the formatted="fal
se" attribute?
X:\android\crt\framework-res\res\values\plurals.xml:79: error: Found tag </item>
where </plurals> is expected
X:\android\crt\framework-res\res\values-af\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-af\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-am\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-am\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-ar\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-ar\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-bg\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-bg\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-ca\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-ca\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-cs\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-cs\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-da\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-da\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-de\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-de\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-el\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-el\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-en-rGB\plurals.xml:79: error: Multiple s
ubstitutions specified in non-positional format; did you mean to add the formatt
ed="false" attribute?
X:\android\crt\framework-res\res\values-en-rGB\plurals.xml:79: error: Found tag
</item> where </plurals> is expected
X:\android\crt\framework-res\res\values-es\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-es\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-es-rUS\plurals.xml:79: error: Multiple s
ubstitutions specified in non-positional format; did you mean to add the formatt
ed="false" attribute?
X:\android\crt\framework-res\res\values-es-rUS\plurals.xml:79: error: Found tag
</item> where </plurals> is expected
X:\android\crt\framework-res\res\values-fa\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-fa\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-fi\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-fi\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-fr\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-fr\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-hi\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-hi\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-hr\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-hr\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-hu\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-hu\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-in\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-in\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-it\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-it\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-iw\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-iw\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-ja\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-ja\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-ko\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-ko\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-lt\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-lt\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-lv\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-lv\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-ms\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-ms\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-nb\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-nb\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-nl\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-nl\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-pl\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-pl\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-pt\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-pt\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-pt-rPT\plurals.xml:79: error: Multiple s
ubstitutions specified in non-positional format; did you mean to add the formatt
ed="false" attribute?
X:\android\crt\framework-res\res\values-pt-rPT\plurals.xml:79: error: Found tag
</item> where </plurals> is expected
X:\android\crt\framework-res\res\values-ro\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-ro\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-ru\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-ru\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-sk\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-sk\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-sl\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-sl\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-sr\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-sr\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-sv\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-sv\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-sw\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-sw\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-th\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-th\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-tl\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-tl\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-tr\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-tr\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-uk\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-uk\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-vi\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-vi\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
X:\android\crt\framework-res\res\values-zh-rCN\plurals.xml:79: error: Multiple s
ubstitutions specified in non-positional format; did you mean to add the formatt
ed="false" attribute?
X:\android\crt\framework-res\res\values-zh-rCN\plurals.xml:79: error: Found tag
</item> where </plurals> is expected
X:\android\crt\framework-res\res\values-zh-rTW\plurals.xml:79: error: Multiple s
ubstitutions specified in non-positional format; did you mean to add the formatt
ed="false" attribute?
X:\android\crt\framework-res\res\values-zh-rTW\plurals.xml:79: error: Found tag
</item> where </plurals> is expected
X:\android\crt\framework-res\res\values-zu\plurals.xml:79: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
X:\android\crt\framework-res\res\values-zu\plurals.xml:79: error: Found tag </it
em> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Cj\AppData\Local\Temp\APKT
OOL5397850870725338747.tmp, -x, -S, X:\android\crt\framework-res\res, -M, X:\and
roid\crt\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\Cj\AppData\Local\Temp\APKTOOL5397850870725338747.tmp, -x, -S, X:\android\cr
t\framework-res\res, -M, X:\android\crt\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
I think the guys at apktools are working on it according to these posts (sorry, cant post links yet):
code.google.com/p/android-apktool/issues/detail?id=267
code.google.com/p/android-apktool/issues/detail?id=277
EDIT: did more research and found the solution, in case anybody needs it, I've attached an apktool version that will work with ICS
Found here:
forum.xda-developers.com/showpost.php?p=22070364&postcount=6
I understand the process of theming, but I'm running into errors that I can't seem to fix.
Trying to make some quick XML edits for SlimICS's framework-res....
I assume I have some mis-match of java/apktool/adb/apkmanager... this is what APKmanager returns:
Apk Manager v5.0.2
ApkTool v1.4.1
7za v9.20
Roptipng v0.6.3
Sox v14.3.1
Android Asset Packaging Tool v0.2
I'm getting errors in my log during compile:
Code:
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
Could Not Find C:\sdk\apk_manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\sdk\apk_manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-de\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-de\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-fr\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-fr\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-it\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-it\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\John\AppData\Local\Temp\APKTOOL5962523339435393824.tmp, -x, -S, C:\sdk\apk_manager\other\..\projects\framework-res.apk\res, -M, C:\sdk\apk_manager\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:\Users\John\AppData\Local\Temp\APKTOOL5962523339435393824.tmp, -x, -S, C:\sdk\apk_manager\other\..\projects\framework-res.apk\res, -M, C:\sdk\apk_manager\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
I tried using APKMultitool instead of APKManager, same/similar errors.
Any help would be greatly appreciated...
Hell, if someone has the time to help me via teamviewer, I'll send you a working HD7 with a busted screen for you to tinker with.
i'm having the same problems but with apktool and recompiling well... pretty much anything. the only thing i've successfully recompiled was music2.apk and i didn't even make any changes to it. i get pretty much the same errors. it starts then p00f a bunch of errors.
It's a bug in the version of apktool that adds an extra % to the end of the plurals. Try using the toolset i posted here instead: http://forum.xda-developers.com/showthread.php?t=1566778
Art if this works I'm 100% indebted to you.
I noticed you dont mention loading your framework into memory... is that safe?
JFigure said:
Art if this works I'm 100% indebted to you.
I noticed you dont mention loading your framework into memory... is that safe?
Click to expand...
Click to collapse
I install framework first, yes.
maybe this will be also interesting for you
apktool has some bugs in combination with ics
heres a modded apktool for ics....
http://www.xda-developers.com/android/modified-apktool-for-troublesome-system-apks-on-ics/
that looks good, but in the original post they mention having to swap between two different apktools, quite the PITA.
decompile with the original, compile with the modded..
how do i start this tool?
if i click the .bat a window opens quickly and closes directly, cant read it lol..
pa.pn2 said:
decompile with the original, compile with the modded..
how do i start this tool?
if i click the .bat a window opens quickly and closes directly, cant read it lol..
Click to expand...
Click to collapse
Decompile with apktool 1.4.2 and recompile with 1.4.3 and u need to hold shift and right click and there should b an option to open up CMD and then im sure u knw wat to do n if not let me knw
I can decompile and compile with the same apktool version
Sent from my Galaxy Nexus using xda premium
I have a question I hope you can help me..
I want to make contact image in infinityview smaller..So I decompiled infinitview.apk with apkmanager and there was no error...But I cant compile it now..
Can you help me how to comile it now?
am2222 said:
Can you help me how to comile it now?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1374394
Guide
Simple guide to decompile and recompile the apks and also look at the signature in the thread for how to sign system app.
http://forum.xda-developers.com/showthread.php?t=1860115
Hit "Thanks" if anyone helped you.:good:
Xperia Arc LT15i
Rooted/Bootloader Unlocked
Running Jelly Bean - FXP138/CM10
Thanks for your help..I looked at your links..those information are useful when I can compile new apk..But I cant even Compile it..I have this error
Code:
--------------------------------------------------------------------------
|Mon 09/24/2012 -- 20:25:18.78|
--------------------------------------------------------------------------
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_listitem_divider_vertical.9.png
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:99: error: Public symbol drawable/ab_solid_custom_blue_inverse_holo declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:29: error: Public symbol drawable/actionbutton_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:46: error: Public symbol drawable/contactinfo_list_selector declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:47: error: Public symbol drawable/divider_horizontal_dark_opaque declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:30: error: Public symbol drawable/facebook_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:48: error: Public symbol drawable/facebook_icn_large declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:100: error: Public symbol drawable/facet_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:49: error: Public symbol drawable/facet_unselected_holo declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:50: error: Public symbol drawable/facets_popup_list_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:51: error: Public symbol drawable/facets_popup_list_divider declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:52: error: Public symbol drawable/facets_popup_list_focus declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:53: error: Public symbol drawable/facets_posmarker_selected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:54: error: Public symbol drawable/facets_posmarker_selected_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:55: error: Public symbol drawable/facets_posmarker_unselected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:56: error: Public symbol drawable/facets_posmarker_unselected_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:57: error: Public symbol drawable/facets_selection_overlay_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:58: error: Public symbol drawable/facets_selection_overlay_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:59: error: Public symbol drawable/facets_titlebar_background_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:60: error: Public symbol drawable/facets_titlebar_background_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:61: error: Public symbol drawable/favoriteunstarglow declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:62: error: Public symbol drawable/fb_tagged_photo_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:63: error: Public symbol drawable/fb_tagged_photo_highlight declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:31: error: Public symbol drawable/fbi_phonebook_interests_temp declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:107: error: Public symbol drawable/grad declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:108: error: Public symbol drawable/grad2 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:32: error: Public symbol drawable/ic_spinner1 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:33: error: Public symbol drawable/ic_spinner2 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:34: error: Public symbol drawable/ic_spinner3 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:35: error: Public symbol drawable/ic_spinner4 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:36: error: Public symbol drawable/ic_spinner5 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:37: error: Public symbol drawable/ic_spinner6 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:38: error: Public symbol drawable/ic_spinner7 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:39: error: Public symbol drawable/ic_spinner8 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:64: error: Public symbol drawable/infiniteview_application_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:101: error: Public symbol drawable/infiniteview_calling_phone_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:65: error: Public symbol drawable/infiniteview_contact_picture_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:102: error: Public symbol drawable/infiniteview_contact_picture_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:103: error: Public symbol drawable/infiniteview_contact_picture_sim_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:66: error: Public symbol drawable/infiniteview_contactinfo_email_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:67Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL7482036284783967640.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL7482036284783967640.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
: error: Public symbol drawable/infiniteview_edit_contact_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:68: error: Public symbol drawable/infiniteview_favorite_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:104: error: Public symbol drawable/infiniteview_favorite_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:105: error: Public symbol drawable/infiniteview_favorite_btn_outlight declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:106: error: Public symbol drawable/infiniteview_favorite_btn_selected declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:69: error: Public symbol drawable/infiniteview_favorite_outlight_layout_drawable declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:40: error: Public symbol drawable/infiniteview_favorite_state declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:70: error: Public symbol drawable/infiniteview_gal_contacts_add_to_contacts declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:71: error: Public symbol drawable/infiniteview_listitem_divider_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:72: error: Public symbol drawable/infiniteview_menu_delete_contact declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:73: error: Public symbol drawable/infiniteview_menu_send_vcard declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:74: error: Public symbol drawable/infiniteview_message_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:75: error: Public symbol drawable/infiniteview_optionmenu_add_connection declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:76: error: Public symbol drawable/infiniteview_optionmenu_edit_contact declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:77: error: Public symbol drawable/infiniteview_optionmenu_set_as_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:78: error: Public symbol drawable/infiniteview_sending_message_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:41: error: Public symbol drawable/popup_full_dark declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:79: error: Public symbol drawable/portrait_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:42: error: Public symbol drawable/renren_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:80: error: Public symbol drawable/semc_action_btn_highlight_focused declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:81: error: Public symbol drawable/semc_action_btn_highlight_pressed declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:82: error: Public symbol drawable/semc_contact_picture_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:43: error: Public symbol drawable/semc_dark_header declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:83: error: Public symbol drawable/semc_facet_bg_h declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:84: error: Public symbol drawable/semc_facet_bg_v declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:85: error: Public symbol drawable/semc_facet_glow_h declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:86: error: Public symbol drawable/semc_facet_glow_v declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:87: error: Public symbol drawable/semc_facets_posmarker_selected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:88: error: Public symbol drawable/semc_facets_posmarker_unselected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:89: error: Public symbol drawable/semc_header declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:44: error: Public symbol drawable/semc_list_selector_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:90: error: Public symbol drawable/semc_list_selector_background_disabled declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:91: error: Public symbol drawable/semc_list_selector_background_focus declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:92: error: Public symbol drawable/semc_list_selector_background_longpress declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:93: error: Public symbol drawable/semc_list_selector_background_pressed declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:45: error: Public symbol drawable/semc_list_selector_background_transition declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:94: error: Public symbol drawable/semc_presence_away declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:95: error: Public symbol drawable/semc_presence_busy declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:96: error: Public symbol drawable/semc_presence_invisible declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:97: error: Public symbol drawable/semc_presence_offline declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\values\public.xml:98: error: Public symbol drawable/semc_presence_online declared here is not defined.
Delete the public.xml before compiling, it gets rebuilt when you recompile.
Sent from my CM9'd Arc
am2222 said:
Thanks for your help..I looked at your links..those information are useful when I can compile new apk..But I cant even Compile it..I have this error
Code:
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_listitem_divider_vertical.9.png
Click to expand...
Click to collapse
what did you do to this image. were you able to do a clean de-compile then recompile with no changes?
Pvy
XperienceD said:
Delete the public.xml before compiling, it gets rebuilt when you recompile.
Sent from my CM9'd Arc
Click to expand...
Click to collapse
I deleted it and I have that problem again
Code:
|Tue 09/25/2012 -- 15:47:17.12|
--------------------------------------------------------------------------
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W/ResourceType( 5056): Bad XML block: header size 441 or total size 0 is larger than data size 0
libpng error: Read Error
ERROR: Failure processing PNG image F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_listitem_divider_vertical.9.png
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_2rows_lefticon.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_2rows_lefticon_rightbtn.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/infiniteview_listitem_divider_vertical').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_2rows_lefticon_rightbtn.xml:13: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_default.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\contactinfo_listitem_external.xml:10: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\eventstreamsource_listitem_default.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_bigpicture.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/grad').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbi_information.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_spinner1').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbinterests_list_item.xml:4: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/fbi_phonebook_interests_temp').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbinterests_view.xml:5: error: Error: No resource found that matches the given name (at 'divider' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbnotice.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/popup_full_dark').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbphotos_header.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/semc_dark_header').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_fbphotos_view.xml:5: error: Error: No resource found that matches the given name (at 'divider' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_socialstream_listitem.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/semc_list_selector_background').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\infinite_socialstream_listitem.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/divider_horizontal_dark_opaque').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\main.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/grad2').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout\main.xml:9: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/facet_bg').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\layout-land\main.xml:11: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/facet_bg').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\actionbutton_bg.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_action_btn_highlight_pressed').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\actionbutton_bg.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_action_btn_highlight_focused').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\favoriteunstarglow.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\favoriteunstarglow.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-mdpi\favoriteunstarglow.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-mdpi\favoriteunstarglow.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-xhdpi\favoriteunstarglow.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-xhdpi\favoriteunstarglow.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_favorite_outlight_layout_drawable.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-hdpi\infiniteview_favorite_outlight_layout_drawable.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_outlight').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-mdpi\infiniteview_favorite_outlight_layout_drawable.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_selected').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable-mdpi\infiniteview_favorite_outlight_layout_drawable.xml:5: error: Error: No resource found that Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL8487981651969686752.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL8487981651969686752.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
matches the given name (at 'drawable' with value '@drawable/infiniteview_favorite_btn_outlight').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_disabled').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:6: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_disabled').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:7: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_transition').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:8: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_transition').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background.xml:9: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_focus').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background_transition.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_pressed').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\drawable\semc_list_selector_background_transition.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/semc_list_selector_background_longpress').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_optionmenu_edit_contact').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:5: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_menu_send_vcard').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:6: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_menu_delete_contact').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:7: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_optionmenu_set_as_default').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:8: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_gal_contacts_add_to_contacts').
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteViewedit.apk\res\menu\contactinfo_menu.xml:9: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/infiniteview_optionmenu_add_connection').
Still that image. Check the first error
Pvy
Sent from my Galaxy Nexus using xda premium
pvyParts said:
what did you do to this image. were you able to do a clean de-compile then recompile with no changes?
Pvy
Click to expand...
Click to collapse
Thanks for your help..I did nothing to it..I just edited to picture named grad.png and grad2.png (those file added by Aonworld in this topic http://forum.xda-developers.com/showthread.php?p=31893697#post31893697 ) and I also edited to numbers in main.xml and dimen.xml..
Is there any mistake that I done?
pvyParts said:
Still that image. Check the first error
Pvy
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks again..I am going to decompile it again..
am2222 said:
Thanks again..I am going to decompile it again..
Click to expand...
Click to collapse
Run a compile with no edits to make sure your environment is setup right for this apk
Let me know how you go
Sent from my Galaxy Nexus using xda premium
I decompiled file again and with any change to files I tried to compile it and this error happens .. :crying:
Code:
|Tue 09/25/2012 -- 16:55:00.54|
--------------------------------------------------------------------------
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
Could Not Find F:\Program Files (x86)\Android\apk_multi_tool1.0.6\place-apk-here-for-modding\../place-apk-here-for-modding/signedInfiniteView.apk
Could Not Find F:\Program Files (x86)\Android\apk_multi_tool1.0.6\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedInfiniteView.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Crazy Virus\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/infiniteview_listitem_divider_vertical.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Loading resource table from file: C:\Users\Crazy Virus\apktool\framework\2.apk
I: Loaded.
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\drawable-hdpi\infiniteview_listitem_divider_vertical.9.png
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:99: error: Public symbol drawable/ab_solid_custom_blue_inverse_holo declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:29: error: Public symbol drawable/actionbutton_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:46: error: Public symbol drawable/contactinfo_list_selector declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:47: error: Public symbol drawable/divider_horizontal_dark_opaque declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:30: error: Public symbol drawable/facebook_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:48: error: Public symbol drawable/facebook_icn_large declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:100: error: Public symbol drawable/facet_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:49: error: Public symbol drawable/facet_unselected_holo declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:50: error: Public symbol drawable/facets_popup_list_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:51: error: Public symbol drawable/facets_popup_list_divider declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:52: error: Public symbol drawable/facets_popup_list_focus declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:53: error: Public symbol drawable/facets_posmarker_selected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:54: error: Public symbol drawable/facets_posmarker_selected_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:55: error: Public symbol drawable/facets_posmarker_unselected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:56: error: Public symbol drawable/facets_posmarker_unselected_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:57: error: Public symbol drawable/facets_selection_overlay_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:58: error: Public symbol drawable/facets_selection_overlay_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:59: error: Public symbol drawable/facets_titlebar_background_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:60: error: Public symbol drawable/facets_titlebar_background_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:61: error: Public symbol drawable/favoriteunstarglow declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:62: error: Public symbol drawable/fb_tagged_photo_bg declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:63: error: Public symbol drawable/fb_tagged_photo_highlight declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:31: error: Public symbol drawable/fbi_phonebook_interests_temp declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:107: error: Public symbol drawable/grad declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:108: error: Public symbol drawable/grad2 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:32: error: Public symbol drawable/ic_spinner1 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:33: error: Public symbol drawable/ic_spinner2 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:34: error: Public symbol drawable/ic_spinner3 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:35: error: Public symbol drawable/ic_spinner4 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:36: error: Public symbol drawable/ic_spinner5 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:37: error: Public symbol drawable/ic_spinner6 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:38: error: Public symbol drawable/ic_spinner7 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:39: error: Public symbol drawable/ic_spinner8 declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:64: error: Public symbol drawable/infiniteview_application_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:101: error: Public symbol drawable/infiniteview_calling_phone_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:65: error: Public symbol drawable/infiniteview_contact_picture_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:102: error: Public symbol drawable/infiniteview_contact_picture_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:103: error: Public symbol drawable/infiniteview_contact_picture_sim_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:66: error: Public symbol drawable/infiniteview_contactinfo_email_icon declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:67: error: Public symbol drawable/infiniteview_edit_contact_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projException in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL2605969037100639415.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
at brut.androlib.Androlib.buildResources(Androlib.java:249)
at brut.androlib.Androlib.build(Androlib.java:172)
at brut.androlib.Androlib.build(Androlib.java:155)
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:\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL2605969037100639415.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.apk, -I, C:\Users\Crazy Virus\apktool\framework\2.apk, -S, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res, -M, F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
ects\InfiniteView.apk\res\values\public.xml:68: error: Public symbol drawable/infiniteview_favorite_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:104: error: Public symbol drawable/infiniteview_favorite_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:105: error: Public symbol drawable/infiniteview_favorite_btn_outlight declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:106: error: Public symbol drawable/infiniteview_favorite_btn_selected declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:69: error: Public symbol drawable/infiniteview_favorite_outlight_layout_drawable declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:40: error: Public symbol drawable/infiniteview_favorite_state declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:70: error: Public symbol drawable/infiniteview_gal_contacts_add_to_contacts declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:71: error: Public symbol drawable/infiniteview_listitem_divider_vertical declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:72: error: Public symbol drawable/infiniteview_menu_delete_contact declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:73: error: Public symbol drawable/infiniteview_menu_send_vcard declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:74: error: Public symbol drawable/infiniteview_message_action_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:75: error: Public symbol drawable/infiniteview_optionmenu_add_connection declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:76: error: Public symbol drawable/infiniteview_optionmenu_edit_contact declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:77: error: Public symbol drawable/infiniteview_optionmenu_set_as_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:78: error: Public symbol drawable/infiniteview_sending_message_btn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:41: error: Public symbol drawable/popup_full_dark declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:79: error: Public symbol drawable/portrait_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:42: error: Public symbol drawable/renren_icn declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:80: error: Public symbol drawable/semc_action_btn_highlight_focused declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:81: error: Public symbol drawable/semc_action_btn_highlight_pressed declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:82: error: Public symbol drawable/semc_contact_picture_default declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:43: error: Public symbol drawable/semc_dark_header declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:83: error: Public symbol drawable/semc_facet_bg_h declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:84: error: Public symbol drawable/semc_facet_bg_v declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:85: error: Public symbol drawable/semc_facet_glow_h declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:86: error: Public symbol drawable/semc_facet_glow_v declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:87: error: Public symbol drawable/semc_facets_posmarker_selected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:88: error: Public symbol drawable/semc_facets_posmarker_unselected_horizontal declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:89: error: Public symbol drawable/semc_header declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:44: error: Public symbol drawable/semc_list_selector_background declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:90: error: Public symbol drawable/semc_list_selector_background_disabled declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:91: error: Public symbol drawable/semc_list_selector_background_focus declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:92: error: Public symbol drawable/semc_list_selector_background_longpress declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:93: error: Public symbol drawable/semc_list_selector_background_pressed declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:45: error: Public symbol drawable/semc_list_selector_background_transition declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:94: error: Public symbol drawable/semc_presence_away declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:95: error: Public symbol drawable/semc_presence_busy declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:96: error: Public symbol drawable/semc_presence_invisible declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:97: error: Public symbol drawable/semc_presence_offline declared here is not defined.
F:\Program Files (x86)\Android\apk_multi_tool1.0.6\other\..\projects\InfiniteView.apk\res\values\public.xml:98: error: Public symbol drawable/semc_presence_online declared here is not defined.
Is not this problem because of my apktool version?where I can find last version?
Run a compile with no edits to make sure your environment is setup right for this apk
Click to expand...
Click to collapse
I use freamwork + SemcGenericUxpRes to decompile file and no error happens to decompile it but when I try to recompile, even with any change in files that error happens
am2222 said:
Is not this problem because of my apktool version?where I can find last version?
Click to expand...
Click to collapse
EDIT: Just tried myself to de and recompile the apk and it's given me errors, and tbh if I was trying to mod this myself I'd start with a stock apk, the .9 error would have put me off to begin with so either use a stock apk or ask Aeon which apktool they're using.
XperienceD said:
EDIT: Just tried myself to de and recompile the apk and it's given me errors, and tbh if I was trying to mod this myself I'd start with a stock apk, the .9 error would have put me off to begin with so either use a stock apk or ask Aeon which apktool they're using.
Click to expand...
Click to collapse
So,My problem is because of different version of apktool?
I will try to edit and compile stock version and see what will happen Thanks
I used last apktool and tested with stock application and still I have that problem again
am2222 said:
I used last apktool and tested with stock application and still I have that problem again
Click to expand...
Click to collapse
Ask Aeon which they're using, I have 3 different folders with 3 different apktools and they all gave errors when trying to recompile.
So I am brand new at all of this and figured I would toy around with this older phone to see what I can learn. I am using directions from this link:
"htcevohacks.com/htc-evo-hacks/how-to-build-your-own-htc-evo-4g-android-kernel/"
I'm trying to make a custom kernel so I can put ubuntu on my phone following the directions from these two links:
"htcevohacks.com/htc-evo-hacks/ubuntu-evo-4g/"
"nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/"
So while trying to compile on step 13 off the first link this is what I get when I use the command "make":
:/kernel# make
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
<stdin>:1097: warning: #warning syscall fadvise64 not implemented
<stdin>:1265: warning: #warning syscall migrate_pages not implemented
<stdin>:1321: warning: #warning syscall pselect6 not implemented
<stdin>:1325: warning: #warning syscall ppoll not implemented
<stdin>:1365: warning: #warning syscall epoll_pwait not implemented
CHK include/linux/compile.h
CC arch/arm/mach-msm/devices.o
arch/arm/mach-msm/devices.c:391: error: variable 'android_usb_pdata' has initializer but incomplete type
arch/arm/mach-msm/devices.c:392: error: unknown field 'vendor_id' specified in initializer
arch/arm/mach-msm/devices.c:392: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:392: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:393: error: unknown field 'product_id' specified in initializer
arch/arm/mach-msm/devices.c:393: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:393: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:394: error: unknown field 'adb_product_id' specified in initializer
arch/arm/mach-msm/devices.c:394: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:394: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:395: error: unknown field 'version' specified in initializer
arch/arm/mach-msm/devices.c:395: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:395: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:396: error: unknown field 'product_name' specified in initializer
arch/arm/mach-msm/devices.c:396: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:396: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:397: error: unknown field 'manufacturer_name' specified in initializer
arch/arm/mach-msm/devices.c:397: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:397: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:398: error: unknown field 'nluns' specified in initializer
arch/arm/mach-msm/devices.c:398: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:398: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c: In function 'msm_set_ums_device_id':
arch/arm/mach-msm/devices.c:452: error: 'usb_mass_storage_device' undeclared (first use in this function)
arch/arm/mach-msm/devices.c:452: error: (Each undeclared identifier is reported only once
arch/arm/mach-msm/devices.c:452: error: for each function it appears in.)
arch/arm/mach-msm/devices.c: In function 'msm_enable_car_kit_detect':
arch/arm/mach-msm/devices.c:463: error: 'struct msm_hsusb_platform_data' has no member named 'enable_car_kit_detect'
arch/arm/mach-msm/devices.c: In function 'msm_init_ums_lun':
arch/arm/mach-msm/devices.c:469: error: 'mass_storage_pdata' undeclared (first use in this function)
arch/arm/mach-msm/devices.c: In function 'msm_add_usb_id_pin_gpio':
arch/arm/mach-msm/devices.c:486: error: 'struct msm_hsusb_platform_data' has no member named 'usb_id_pin_gpio'
arch/arm/mach-msm/devices.c: At top level:
arch/arm/mach-msm/devices.c:490: warning: 'struct msm_hsusb_product' declared inside parameter list
arch/arm/mach-msm/devices.c:490: warning: its scope is only this definition or declaration, which is probably not what you want
arch/arm/mach-msm/devices.c: In function 'msm_hsusb_set_product':
arch/arm/mach-msm/devices.c:491: error: 'struct msm_hsusb_platform_data' has no member named 'products'
arch/arm/mach-msm/devices.c:492: error: 'struct msm_hsusb_platform_data' has no member named 'num_products'
arch/arm/mach-msm/devices.c: In function 'board_serialno_setup':
arch/arm/mach-msm/devices.c:1159: error: invalid use of undefined type 'struct android_usb_platform_data'
make[1]: *** [arch/arm/mach-msm/devices.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
Click to expand...
Click to collapse
Like I said, I'm new to this so I don't really know what any of that means. The lines should be all correct but I did have to separate them manually after copying it. I'm using Lubuntu and my phone is running CyanogenMod 7
yep
So, I also am having this problem... does anyone have an answer? My issue is exactly the same, and I tried it a second time with the same results, even though I tried different options prior to it starting to compile. Or does anyone have a ready made kernel for this that they would be willing to post?
thanks
ravikanthchary said:
Here is the tutorial for integrating Original ICS Style Lockscreen for All Gingerbread Devices...:laugh:
Steps To Integrate:
1.Needs:
apktool for decompiling and compiling
Notepad+ for editing xml files
framework-res.apk
build.prop (open root browser on mobile and goto system then you ill find this)
Download xml files from here:
http://www.mediafire.com/download/bixe8em6gkww1jz/ICS+Lock4GB+files.zip
2.first you have to decompile your framework-res.apk
and open ur decompiled framework-res folder
In that open res\layout paste the downloaded xml files
after that download lockscreen pngs from here
https://www.mediafire.com/?1d923c8j5qihvd6
Then open res\drawable-mdpi\paste pngs here
Half Of The Work Is Over
You Have to add some ids in res\values\ids open this
and add this line At the end of below
HTML:
<item type="id" name="rl_multiWaveView">false</item>
<item type="id" name="digital_clock">false</item>
<item type="id" name="dateShow">false</item>
<item type="id" name="iv_drop">false</item>
<item type="id" name="ib_greenorange">false</item>
<item type="id" name="rl_click_after">false</item>
<item type="id" name="ib_photo">false</item>
<item type="id" name="ib_greenorange_gone">false</item>
<item type="id" name="ib_phone">false</item>
<item type="id" name="tv_phone_unread">false</item>
<item type="id" name="ib_sms">false</item>
<item type="id" name="tv_sms_unread">false</item>
<item type="id" name="ib_home">false</item>
<item type="id" name="tv_remind">false</item>
<item type="id" name="rl_multiWaveViewforsimulateics">false</item>
<item type="id" name="iv_wave">false</item>
<item type="id" name="iv_wave1">false</item>
<item type="id" name="iv_wave2">false</item>
<item type="id" name="iv_circle">false</item>
<item type="id" name="timeDisplay">false</item>
<item type="id" name="am_pm">false</item>
after adding this to ids recompile your framework-res.apk
last method for integrating ICS Lockscreen to your Mobile
open your build.prop via notepad+
Add These Line On above
HTML:
#add wanglu 20120811 start
#do not greenorging lockscreen
ro.origin.lockscreen=simulateICS
#add wanglu 20120811 end
like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
save it and move this modded build.prop to your system\overwrite here
and also the compiled framework-res.apk to system\framework\overwrite here with permissions
Screenshot:
Reboot Your Mobile...
Now you Have successfully Integrated ICS Lockscreen To your GingerBread Mobile
Click to expand...
Click to collapse
There is no contribution of mine , all the credits goes to ravikanthchary
Awesome man.... Can anybody build a flashable zip ??
Just Press Thanks If I helped
Awesome :thumbup:
Sent from my GT-S5360 using xda app-developers app
where did you get the original sources and such ?
Sent from my S500 using xda app-developers app
Gonna try.
Sent from my GT-S5570I
---------- Post added at 02:32 PM ---------- Previous post was at 02:00 PM ----------
here is the original thread. http://forum.xda-developers.com/showthread.php?t=2580029
---------- Post added at 02:45 PM ---------- Previous post was at 02:32 PM ----------
One more thing. I think that these files dont exist in gingerbread, or at least our device.
com.android.internal.policy.impl.MultiWaveViewForSimulateICS
com.android.internal.policy.impl.MultiWaveView
sir this guide is not working ! at all i have source
SpaceCaker said:
where did you get the original sources and such ?
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
sir this guide is not working at all! how it will work with only some missing smalli and fonts and ids and missing some pngs !! I PORTED IT FROM DEVICE i can give you source i created a guide for porting lockscreen after 2 or 3 days
i am going to post it
SK(SurajKumar) said:
sir this guide is not working at all! how it will work with only some missing smalli and fonts and ids and missing some pngs !! I PORTED IT FROM DEVICE i can give you source i created a guide for porting lockscreen after 2 or 3 days
i am going to post it
Click to expand...
Click to collapse
waiting ^^
Check out the original thread. Its updated
Sent from my GT-S5570I
plz listen
m4RinKo2 said:
Check out the original thread. Its updated
Sent from my GT-S5570I
Click to expand...
Click to collapse
bro i know him better !! because that rom he using i our clone device!!
Bootloop for me -_-
Отправлено с моего GT-S5830i через Tapatalk
Recompiling Error ...
me too i got this message
gingerbread 2.3.5
Code:
aapt: warning: string 'choose_sim' has no default translation in D:\Android\ROM\
Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'global_action_reboot_phone' has no default translation in
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_confirm' has no default translation in D:\Android\
ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_phone' has no default translation in D:\Android\RO
M\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_progress' has no default translation in D:\Android
\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim1_not_standby' has no default translation in D:\Androi
d\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim2_not_standby' has no default translation in D:\Androi
d\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim_not_standby' has no default translation in D:\Android
\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\values\ids.xml:286: e
rror: Resource entry timeDisplay is already defined.
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\values\ids.xml:164: O
riginally defined here.
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\values\ids.xml:287: e
rror: Resource entry am_pm is already defined.
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\values\ids.xml:165: O
riginally defined here.
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:4: error: Error: No resource found that matches the given name (at
'id' with value '@id/rl_multiWaveView').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:5: error: Error: No resource found that matches the given name (at
'id' with value '@id/digital_clock').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:9: error: Error: No resource found that matches the given name (at
'id' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:10: error: Error: No resource found that matches the given name (at
'id' with value '@id/iv_drop').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:10: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/lock_drop').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:10: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:11: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_greenorange').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:11: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:12: error: Error: No resource found that matches the given name (at
'id' with value '@id/rl_click_after').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:12: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:13: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_photo').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:14: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_greenorange_gone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:15: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/ic_unselect_phone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:15: error: Error: No resource found that matches the given name (at
'layout_toLeftOf' with value '@id/ib_greenorange_gone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:16: error: Error: No resource found that matches the given name (at
'background' with value '@drawable/ic_number_bg').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:16: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/ib_photo').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:17: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/ic_unselect_sms').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:17: error: Error: No resource found that matches the given name (at
'layout_toRightOf' with value '@id/ib_greenorange_gone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:18: error: Error: No resource found that matches the given name (at
'background' with value '@drawable/ic_number_bg').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:18: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/ib_photo').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:19: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/ib_greenorange_gone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:5: error: Error: No resource found that matches the given name (at
'id' with value '@id/digital_clock').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:9: error: Error: No resource found that matches the given name (at
'id' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:10: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_greenorange').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:14: error: Error: No resource found that matches the given name (at
'id' with value '@id/rl_click_after').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:15: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/circle').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:16: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_photo').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\OP\AppData\Local\Temp\APKT
OOL2004066232815669350.tmp, -x, -S, D:\Android\ROM\Create ROM\Themes\apktool\fra
mework-res\res, -M, D:\Android\ROM\Create ROM\Themes\apktool\framework-res\Andro
idManifest.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\OP\AppData\Local\Temp\APKTOOL2004066232815669350.tmp, -x, -S, D:\Android\RO
M\Create ROM\Themes\apktool\framework-res\res, -M, D:\Android\ROM\Create ROM\The
mes\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
bendol212 said:
me too i got this message
gingerbread 2.3.5
Code:
aapt: warning: string 'choose_sim' has no default translation in D:\Android\ROM\
Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'global_action_reboot_phone' has no default translation in
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_confirm' has no default translation in D:\Android\
ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_phone' has no default translation in D:\Android\RO
M\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_progress' has no default translation in D:\Android
\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim1_not_standby' has no default translation in D:\Androi
d\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim2_not_standby' has no default translation in D:\Androi
d\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim_not_standby' has no default translation in D:\Android
\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\values\ids.xml:286: e
rror: Resource entry timeDisplay is already defined.
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\values\ids.xml:164: O
riginally defined here.
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\values\ids.xml:287: e
rror: Resource entry am_pm is already defined.
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\values\ids.xml:165: O
riginally defined here.
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:4: error: Error: No resource found that matches the given name (at
'id' with value '@id/rl_multiWaveView').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:5: error: Error: No resource found that matches the given name (at
'id' with value '@id/digital_clock').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:9: error: Error: No resource found that matches the given name (at
'id' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:10: error: Error: No resource found that matches the given name (at
'id' with value '@id/iv_drop').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:10: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/lock_drop').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:10: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:11: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_greenorange').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:11: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:12: error: Error: No resource found that matches the given name (at
'id' with value '@id/rl_click_after').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:12: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:13: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_photo').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:14: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_greenorange_gone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:15: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/ic_unselect_phone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:15: error: Error: No resource found that matches the given name (at
'layout_toLeftOf' with value '@id/ib_greenorange_gone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:16: error: Error: No resource found that matches the given name (at
'background' with value '@drawable/ic_number_bg').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:16: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/ib_photo').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:17: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/ic_unselect_sms').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:17: error: Error: No resource found that matches the given name (at
'layout_toRightOf' with value '@id/ib_greenorange_gone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:18: error: Error: No resource found that matches the given name (at
'background' with value '@drawable/ic_number_bg').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:18: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/ib_photo').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:19: error: Error: No resource found that matches the given name (at
'layout_below' with value '@id/ib_greenorange_gone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:5: error: Error: No resource found that matches the given name (at
'id' with value '@id/digital_clock').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:9: error: Error: No resource found that matches the given name (at
'id' with value '@id/dateShow').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:10: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_greenorange').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:14: error: Error: No resource found that matches the given name (at
'id' with value '@id/rl_click_after').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:15: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/circle').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:16: error: Error: No resource found that matches the given name (at
'id' with value '@id/ib_photo').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\OP\AppData\Local\Temp\APKT
OOL2004066232815669350.tmp, -x, -S, D:\Android\ROM\Create ROM\Themes\apktool\fra
mework-res\res, -M, D:\Android\ROM\Create ROM\Themes\apktool\framework-res\Andro
idManifest.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\OP\AppData\Local\Temp\APKTOOL2004066232815669350.tmp, -x, -S, D:\Android\RO
M\Create ROM\Themes\apktool\framework-res\res, -M, D:\Android\ROM\Create ROM\The
mes\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Click to expand...
Click to collapse
Learn to read the error in the log - its really easy
1 - you have duplicate entries in ids.xml - delete all the duplicate entries
2 - you haven't copied and pasted the ids on the first post and pasted it in your ids.xml above /resources taking into account not to paste any duplicate entries
marcussmith2626 said:
Learn to read the error in the log - its really easy
1 - you have duplicate entries in ids.xml - delete all the duplicate entries
2 - you haven't copied and pasted the ids on the first post and pasted it in your ids.xml above /resources taking into account not to paste any duplicate entries
Click to expand...
Click to collapse
ehmmmm lemme try again.......
no luck still got an error
D:\Android\ROM\Create ROM\Themes\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:10: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/lock_drop').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:15: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/ic_unselect_phone').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:16: error: Error: No resource found that matches the given name (at
'background' with value '@drawable/ic_number_bg').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:17: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/ic_unselect_sms').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_gre
enorange.xml:18: error: Error: No resource found that matches the given name (at
'background' with value '@drawable/ic_number_bg').
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res\layout\lockscreen_sim
ulateics.xml:15: error: Error: No resource found that matches the given name (at
'src' with value '@drawable/circle').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\OP\AppData\Local\Temp\APKT
OOL1398518024285188859.tmp, -x, -S, D:\Android\ROM\Create ROM\Themes\apktool\fra
mework-res\res, -M, D:\Android\ROM\Create ROM\Themes\apktool\framework-res\Andro
idManifest.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\OP\AppData\Local\Temp\APKTOOL1398518024285188859.tmp, -x, -S, D:\Android\RO
M\Create ROM\Themes\apktool\framework-res\res, -M, D:\Android\ROM\Create ROM\The
mes\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
aapt: warning: string 'choose_sim' has no default translation in D:\Android\ROM\
Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'global_action_reboot_phone' has no default translation in
D:\Android\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_confirm' has no default translation in D:\Android\
ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_phone' has no default translation in D:\Android\RO
M\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_progress' has no default translation in D:\Android
\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim1_not_standby' has no default translation in D:\Androi
d\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim2_not_standby' has no default translation in D:\Androi
d\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'sim_not_standby' has no default translation in D:\Android
\ROM\Create ROM\Themes\apktool\framework-res\res; found: zh_CN
Click to expand...
Click to collapse
ive deleted 2 entries timeDisplay and am_pm
any idea
bendol212 said:
ehmmmm lemme try again.......
no luck still got an error
ive deleted 2 entries timeDisplay and am_pm
any idea
Click to expand...
Click to collapse
Read the instructions on the first post again
You haven't put all the resources in eg png images in res/drawable-ldpi and so on