Related XML contents:

# skins.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <item type="skin" name="foo">10</item>
</resources>
 
# attrs.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <declare-styleable name="Skin">
        <attr name="skin" format="enum">
            <enum name="white" value="0" />
            <enum name="green" value="1" />
        </attr>
    </declare-styleable>
</resources>

    
The error is :

Error:Execution failed for task ':app:mergeDebugResources'.
> Unsupported type 'skin' in file XXX/Test/app/src/main/res/values/skin.xml

I'm tring to port some pre-gradle code(built by ant) to gradle, I can not 
come with a minimal repro case for now.
Checked the source code of ValueResourceParser2.java(getType 
implementation), seems custom resource type is not supported, it's this 
expected and how to work around this?

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to