简体   繁体   English

如何修复Xamarin android c#中的“找不到与给定名称(在'value'处与值'@ integer / google_play_services_version匹配)的资源”

[英]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.

相关问题 未找到与给定名称匹配的资源(值与值 @integer/google_play_services_version)”- Visual Studio 2015 更新 3 - No resource found that matches the given name (at value with value @integer/google_play_services_version)” - Visual Studio 2015 Update 3 在Xamarin.Android中找不到与给定名称匹配的资源(在&#39;headerLayout&#39;处) - No resource found that matches the given name (at 'headerLayout') in Xamarin.Android 找不到与给定名称匹配的资源(在&#39;src&#39;处,值为&#39;@android:drawable / logo.png - No resource found that matches the given name (at 'src' with value '@android:drawable/logo.png 设置Xamarin.Forms-“找不到与给定名称匹配的资源...” - Setup Xamarin.Forms - “No resource found that matches the given name…” Xamarin-检索项目的父项时出错:找不到与给定名称&#39;Theme.AppCompat.Light.DarkActionBar&#39;匹配的资源 - Xamarin - Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar' 如何修复Xamarin Forms android上Google Play服务版本错误的错误? - How to fix error of google play service version error on xamarin forms android? 找不到与给定名称Styles.xml匹配的资源 - No resource found that matches the given name Styles.xml 没有找到与给定名称匹配的资源,我在哪里做错了? - No resource found that matches the given name, where I do something wrong? 找不到与给定名称匹配的资源 - No resource found that matches the given names 如何更改 C# 中的 integer 值? - How to change integer value in C#?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM