How can I fix the 'invalid resource directory name' error?

Hi everyone.

I'm currrently working on a porject using Xamarin.Android.

I created a 2 files for translate animations of a DialogFragment
-> Resources\animations\slide_up.xml
-> Resources\animations\slide_right.xml

I created an style entry for the animations and included them as items pointing the file path above

<style name="dialog_animation">
        <item name="android:windowEnterAnimation">@animations/slide_up</item>
        <item name="android:windowExitAnimation">@animations/slide_right</item>

However, when trying to build, I get the error message: 'Invalid Resource Directory Name: path\to\debug\81\res animations "res animations"'

I've tried to clean, and rebuild... Set Build Action for Resources to None, but still no go... :'(

Could someone help me with a fix for this?


Sign In or Register to comment.