miralbhalani / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

strings.xml format not compatible with latest Android SDK #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Attempt to build project using Android SDK revision 8 with SDK platform tools 
revision 1.  Target platform SDK is Android 2.2, API 8, revision 2.

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

Expected a clean compile.  Received the following error instead:

[2010-12-07 13:03:36 - ODKCollect] W/ResourceType( 8026): Bad XML block: header 
size 46962 or total size 148541240 is larger than data size 0
[2010-12-07 13:03:36 - ODKCollect] W/ResourceType( 8026): Bad XML block: header 
size 2269 or total size 0 is larger than data size 0
[2010-12-07 13:03:36 - ODKCollect] odkcollect/res/values/strings.xml:64: error: 
Multiple substitutions specified in non-positional format; did you mean to add 
the formatted="false" attribute?
[2010-12-07 13:03:36 - ODKCollect] odkcollect/res/values/strings.xml:64: error: 
Unexpected end tag string

What version of the product are you using?

Currently using 

changeset:   456:c7eab11e4a31
branch:      v1.1.5

But this problem will appear on tip as well.

Please provide any additional information below.

See the attached patch that fixes this problem.

Original issue reported on code.google.com by mad...@phantomware.ca on 7 Dec 2010 at 8:07

Attachments:

GoogleCodeExporter commented 9 years ago
If you're looking for an official explanation on why this is a problem please 
see 
http://groups.google.com/group/android-developers/browse_thread/thread/017d92dd9
87a8682

Original comment by mad...@phantomware.ca on 7 Dec 2010 at 8:12

GoogleCodeExporter commented 9 years ago

Original comment by wbrune...@gmail.com on 7 Dec 2010 at 11:20

GoogleCodeExporter commented 9 years ago
This issue was closed by revision cef9cbd2e4.

Original comment by yanokwa on 8 Dec 2010 at 6:46