[Mono-bugs] [Bug 664581] Adding Resources/xml/searchable.xml causes aresgen to crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 14 11:58:29 EST 2011



Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |jpryor at novell.com
         Resolution|                            |INVALID

--- Comment #1 from Jonathan Pryor <jpryor at novell.com> 2011-01-14 16:58:28 UTC ---
You should print out more of the error output.  My suspicion is that you're
also getting something like:

    error: Error: No resource found that matches the given name (at 'label'
with value '@string/app_label').


    error: Error: No resource found that matches the given name (at 'hint' with
value '@string/search_hint').

If this is the case, then this isn't a monodroid/aresgen bug; this is _your_
bug; specifically, you need to make sure that the referenced resources actually
exist, e.g. by creating a Resources/values/strings.xml file with the contents:

    <?xml version="1.0" encoding="utf-8"?>
    <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
        <string name="app_label">Hello Label</string>
        <string name="search_hint">This is my search hint.</string>

This will create the @string/app_label and @string/search_hint resources, which
will allow `aapt` to compile your resources w/o error.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list