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

情到浓时终转凉″ 提交于 2019-11-28 13:44:19
Ironman

you have create integer.xml file inside value folder and define your Integer to that place it will solve your problem.

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;

Hobby Dev

I added several new packages. One of the package is the reason of the error. I have to check one by one and caught the one causing error. Removing that package is all I need to do to resolve the error.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!