Your overlay is introducing a new resource into the platform that doesn't
already exist.  As the error message says, you need to use <add-resource> to
tell it this is okay.

On Wed, Jan 20, 2010 at 5:34 AM, dnak <[email protected]> wrote:

> Hi, all.
>
> I tried to create SDK addon.
> I put mystrings.xml at vendro/sample/frameworks/base/core/res/res/
> values.
> And, I wrote PRODUCT_PACKAGE_OVERLAYS in sample_addon.mk
> So, I did below command.
>
>   $ make PRODUCT-sample_addon-sdk_addon
>
> But, below error ocuured and make stopped.
>
>   Resource at foo appears in overlay but not in the base package; use
> <add-resource> to add.
>
> What error?
> I did not found informations about this error on web.
> Are there someone who have same problem?
>
> Below is mystrings.xml.
>
> ------------------
> <?xml version="1.0" encoding="utf-8"?>
> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
>    <string name="foo">Hello World</string>
> </resources>
> ------------------
>
> Regards.
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to