[英]How to fix error of google play service version error on xamarin forms android?
I'm working on a xamarin forms project. 我正在从事xamarin表单项目。 On building the android project this error happens and prevents building:
在构建android项目时,会发生此错误并阻止构建:
No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version')
The installed android sdk is 8.1. 已安装的Android SDK为8.1。 Also I installed the google play service item from extra services node on sdk manager.
我也从sdk管理器上的Extra Services节点安装了Google Play服务项目。 Does anyone know how to fix it?
有谁知道如何修理它?
Check your sdk manager and see if theres an update. 检查您的SDK管理员,看看是否有更新。 And try updating it
并尝试更新它
Delete all the packages from share folder and Obj Folder in Project, then Clean -> Build the project Path to share folder : 从共享文件夹和项目中的Obj文件夹中删除所有软件包,然后清除->构建项目共享文件夹的路径:
C:/Users/user/AppData\\Local\\Xamarin Obj Folder in Project : .Droid\\obj\\Debug 项目中的C:/ Users / user / AppData \\ Local \\ Xamarin Obj文件夹:.Droid \\ obj \\ Debug
Under these paths, delete all the packages you can see, then clean and make a build. 在这些路径下,删除您可以看到的所有软件包,然后清理并进行构建。 This build might take some time to build.
此版本可能需要一些时间来构建。
Try installing the package Xamarin.GooglePlayServices.Maps on android. 尝试在Android上安装Xamarin.GooglePlayServices.Maps软件包。 Worked for me
为我工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.