Jump to content


Photo

Framework-Res Won't Compile


  • Please log in to reply
No replies to this topic

#1 DSGMach1

DSGMach1

    Themer

  • Superuser
  • 264 posts
  • LocationGriffin, GA

Posted 15 May 2012 - 05:57 PM

I'm using APK Manager with all of the apk's I've worked on and for some reason framework-res is the only one I've had a problem getting to recompile. Even if I don't make any edits it won't recompile. This is what the read log says....



--------------------------------------------------------------------------
|Tue 05/15/2012 -- 21:57:59.32|
--------------------------------------------------------------------------
java version "1.7.0"
Java™ SE Runtime Environment (build 1.7.0-b147)
Java HotSpot™ 64-Bit Server VM (build 21.0-b17, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Lee\Desktop\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\val
ues\plurals.xml:79: error: Multiple substitutions specified in non-positional fo
rmat; did you mean to add the formatted="false" attribute?
C:\Users\Lee\Desktop\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\val
ues\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Lee\Desktop\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\val
ues-es\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Lee\Desktop\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\val
ues-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Lee\Desktop\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\val
ues-es-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positi
onal format; did you mean to add the formatted="false" attribute?
C:\Users\Lee\Desktop\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\val
ues-es-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Lee\AppData\Local\Temp\APK
TOOL5787867928861908703.tmp, -x, -S, C:\Users\Lee\Desktop\Apk_Manager_ICS\other\
..\projects\framework-res.apk\res, -M, C:\Users\Lee\Desktop\Apk_Manager_ICS\othe
r\..\projects\framework-res.apk\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\Lee\AppData\Local\Temp\APKTOOL5787867928861908703.tmp, -x, -S, C:\Users\Lee
\Desktop\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Users\L
ee\Desktop\Apk_Manager_ICS\other\..\projects\framework-res.apk\AndroidManifest.x
ml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
--------------------------------------------------------------------------
|Tue 05/15/2012 -- 22:01:56.91|
--------------------------------------------------------------------------
java version "1.7.0"
Java™ SE Runtime Environment (build 1.7.0-b147)
Java HotSpot™ 64-Bit Server VM (build 21.0-b17, mixed mode)
Press any key to continue . . .













Any ideas or solutions are welcome. Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users