Skip to content

need to escape % symbol so aapt can process strings.xml #5

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. try and compile application with latest aapt
https://groups.google.com/forum/?fromgroups=#!topic/android-developers/AX2S3Zh6h
oI

What is the expected output? What do you see instead?
cannot process format %s as is

What version of the product are you using? On what operating system?
MacOS

%s format substitutes do not work. Must be converted like such:
<string name="template_user_agent">"%%s/%%s (Linux; Android)"</string>

Original issue reported on code.google.com by hnoer...@gmail.com on 27 Feb 2013 at 6:27

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions