berkus / android-apktool

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

Unable to build #253

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Decode framework-res.apk from cm7 
2. build framework-res.apk without any changes
3.

What is the expected output? What do you see instead?
I see a lot of errors instead of successful building

What version of the product are you using? On what operating system?
Windows XP SP3, APK Tool 1.4.2

Please provide any additional information below.
APK Tool 1.4.1 works great but with APK Tool 1.4.2 im unable to build the 
framework-res.apk even if i didnt make any changes to it

Original issue reported on code.google.com by Morira...@gmail.com on 6 Dec 2011 at 9:40

GoogleCodeExporter commented 9 years ago
Btw i have latest SDK with all components installed, latest JAVA and latest 
Eclipse.

Original comment by Morira...@gmail.com on 6 Dec 2011 at 9:46

GoogleCodeExporter commented 9 years ago
C:\WINDOWS\system32>apktool b c:\temp\framework
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
c:\temp\framework\res\values\strings.xml:125: error: Multiple substitutions spec
ified in non-positional format; did you mean to add the formatted="false" attrib
ute?
c:\temp\framework\res\values\strings.xml:125: error: Unexpected end tag string
c:\temp\framework\res\values-ar\strings.xml:114: error: Multiple substitutions s
pecified in non-positional format; did you mean to add the formatted="false" att
ribute?
c:\temp\framework\res\values-ar\strings.xml:114: error: Unexpected end tag strin
g
c:\temp\framework\res\values-ar-rEG\strings.xml:92: error: Multiple substitution
s specified in non-positional format; did you mean to add the formatted="false"
attribute?
c:\temp\framework\res\values-ar-rEG\strings.xml:92: error: Unexpected end tag st
ring
c:\temp\framework\res\values-bg\strings.xml:114: error: Multiple substitutions s
pecified in non-positional format; did you mean to add the formatted="false" att
ribute?
c:\temp\framework\res\values-bg\strings.xml:114: error: Unexpected end tag strin
g
c:\temp\framework\res\values-bg-rBG\strings.xml:92: error: Multiple substitution
s specified in non-positional format; did you mean to add the formatted="false"
attribute?
c:\temp\framework\res\values-bg-rBG\strings.xml:92: error: Unexpected end tag st
ring
c:\temp\framework\res\values-ca\strings.xml:114: error: Multiple substitutions s
pecified in non-positional format; did you mean to add the formatted="false" att
ribute?
c:\temp\framework\res\values-ca\strings.xml:114: error: Unexpected end tag strin
g
c:\temp\framework\res\values-ca-rES\strings.xml:92: error: Multiple substitution
s specified in non-positional format; did you mean to add the formatted="false"
attribute?
----- e.t.c like this

Original comment by Morira...@gmail.com on 6 Dec 2011 at 10:20

GoogleCodeExporter commented 9 years ago
Hi,

Is it the -a switch from smali/baksmali not being passed when no ICS framework 
is processed?

Original comment by no.one.w...@gmail.com on 6 Dec 2011 at 3:03

GoogleCodeExporter commented 9 years ago
Unfortunately, i dont know what is the -a key~

Here is a full log:

Original comment by Morira...@gmail.com on 7 Dec 2011 at 11:58

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Brut.alll on 7 Dec 2011 at 10:36