Forum Xamarin.Android

Fix Android Resource.Designer.cs

MEJMEJ DEMember ✭✭

I've added some images to my project, and I can't build it anymore.

I get these error messages:

  • CS1001: Identifier expected
  • CS0145: Constant field requires value
  • CS1013: Invalid number

All these errors reference this line (which is the first in partial class drawable):

// aapt resource value: 0x7f020000
public const int 0x = 2130837504;

What can be the source of this and how can I fix it? Thanks!

Best Answer


  • MEJMEJ DEMember ✭✭

    I could hit myself right now. I had an image which was named '0x'. Thanks!

Sign In or Register to comment.