[英]How to fix“No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version)” in Xamarin android c#
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
I inserted these line in AndroidManifest.xml for google map, but am getting this error: 我在AndroidManifest.xml中为Google地图插入了以下行,但出现此错误:
"No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version)" “找不到与给定名称(在'value'处与值'@ integer / google_play_services_version匹配)的资源”
How can I solve this? 我该如何解决?
Basically this means that the key for google_play_services_version
is missing from the auto generated Resources.designer.cs file. 基本上,这意味着自动生成的Resources.designer.cs文件中缺少google_play_services_version
的密钥。 This should be added to the manifest by the Google Play Services (GPS) library when install the GPS package and build the project. 在安装GPS软件包并构建项目时,应将其添加到Google Play服务(GPS)库的清单中。 Have you installed the Xamarin.GooglePlayServices.Maps package? 您是否已安装Xamarin.GooglePlayServices.Maps包?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.