sky201503 / android-apktool2

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

build error, formatted="false" #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.decompile app, ok
2.Do nothing
3.Build apk, problems begin

What is the expected output? What do you see instead?
The expected output is to build the framework-res.apk but I am getting errors 
instead.

/home/mark/Documents/framework-res/res/values/strings.xml:129: error: Multiple 
substitutions specified in non-positional format; did you mean to add the 
formatted="false" attribute?
/home/mark/Documents/framework-res/res/values/strings.xml:129: error: 
Unexpected end tag string
/home/mark/Documents/framework-res/res/values-en-rUS/strings.xml:129: error: 
Multiple substitutions specified in non-positional format; did you mean to add 
the formatted="false" attribute?
/home/mark/Documents/framework-res/res/values-en-rUS/strings.xml:129: error: 
Unexpected end tag string
/home/mark/Documents/framework-res/res/values-zh-rCN/strings.xml:124: error: 
Multiple substitutions specified in non-positional format; did you mean to add 
the formatted="false" attribute?
/home/mark/Documents/framework-res/res/values-zh-rCN/strings.xml:124: error: 
Unexpected end tag string
/home/mark/Documents/framework-res/res/values-zh-rTW/strings.xml:120: error: 
Multiple substitutions specified in non-positional format; did you mean to add 
the formatted="false" attribute?
/home/mark/Documents/framework-res/res/values-zh-rTW/strings.xml:120: error: 
Unexpected end tag string

What version of the product are you using? On what operating system?
I am using 1.4.2 on Linux Mint

Please provide any additional information below.
I have researched this error, and have seen it happen with older versions and 
updating solved the error, but I am on the newest version.
The apk I am trying to build is framework-res.apk from CM7.1(2.3.7). I did not 
edit anything in strings.xml. I did, however, try to debug the error, and the 
formatted="false" attribute is present.

Original issue reported on code.google.com by MLaBarb...@gmail.com on 3 Dec 2011 at 4:29

GoogleCodeExporter commented 9 years ago
Were you able to resolve this issue? I am seeing into similar errors

Original comment by almaz...@gmail.com on 7 Dec 2011 at 12:41

GoogleCodeExporter commented 9 years ago
Unfortunately, no. I've done the best I can trouble shooting it. Tried 
different aapt's, etc.. But to no avail. 

Original comment by MLaBarb...@gmail.com on 7 Dec 2011 at 12:45

GoogleCodeExporter commented 9 years ago

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