How to fix “No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version')”

后端 未结 3 1295
没有蜡笔的小新
没有蜡笔的小新 2020-12-11 19:51

I am getting the following error when I build my Android App project in Visual studio 2015.

No resource found that matches the given name (at \'value\

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-11 20:39

    Try doing and a clean all and check that ALL the content under the obj has been deleted and then perform a build all.

    If that does not work:

    I would try removing the ~GooglePlayServices~ nugets/references and re-add just the Xamarin.GooglePlayServices.Mapsnuget which will bring in the ~Basement and ~Base libraries.

    You should end up with a generated manifest that only has one reference to google_play_services_version and that resource should be picked up from Debug/android/XXX/YYYYYY/ZZZZZ/R.java:

    i.e.

    public static final int google_play_services_version=0x7f070000;
    

提交回复
热议问题