VS 2015 Xamarin: Warning IDE0006 Error encountered while loading the project

前端 未结 7 1167
太阳男子
太阳男子 2020-12-17 21:54

I am developing an Android app using Xamarin.

Visual Studio shows this warning, and I don\'t know what it means. I\'ve followed the instructions but I can\'t seem t

相关标签:
7条回答
  • 2020-12-17 22:32

    I had this error also. The error was totally my fault, I was adding some strings to my strings.xml file and accidentally left an empty item in there

    <string name=""></string>
    

    This broke the R.java file in a really bad way, as the string/resource didn't have a name/id this is how it was created within R.java.

    public static final int =0x7f080060;
    

    As you can see it's missing its identifier. The moral of the story is: check all of your XML for any errors.

    0 讨论(0)
提交回复
热议问题