locked
why can not find the default android Resource :Android.Resource.Layout.SimpleListItem1 RRS feed

All replies

  • User34521 posted

    I am having the same problem. I'm using the Activity1 class generated for me. Where is it supposed to come from? The Resource.Designer.cs file doesn't have it. Am I missing a reference or something?

    Thursday, January 16, 2014 12:06 AM
  • User209 posted

    @MikeYeager you are right it is not in the Resource.Designer.cs file, as it will only contain the resources you have created in your app. SimpleListItem1 is a part of Android.

    Thursday, January 16, 2014 11:38 AM
  • User34521 posted

    Thanks, every little bit helps. It appears I made the rookie mistake of naming my project XXX.XXX.Android. Having the .Android on the end of the project (and more importantly the namespace) caused a naming conflict.

    Thursday, January 16, 2014 3:30 PM
  • User104279 posted

    Correct - Once I recreated my project removing .Android from the name of my project things were good.

    Wednesday, January 27, 2016 12:31 AM
  • User223443 posted

    I had the same issue (same rookie mistake), had to change the project name to droid instead of android but still cant find the namespace, i'm trying to know the full namespace for Android.Resource

    Saturday, October 15, 2016 10:00 PM
  • User223443 posted

    Guys found a solution for this from this thread using global:: before Android is the workaround.

    Saturday, October 15, 2016 10:13 PM