简体   繁体   中英

How to fix error of google play service version error on xamarin forms android?

I'm working on a xamarin forms project. On building the android project this error happens and prevents building:

No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version')

The installed android sdk is 8.1. Also I installed the google play service item from extra services node on sdk manager. Does anyone know how to fix it?

Check your sdk manager and see if theres an update. 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 :

C:/Users/user/AppData\\Local\\Xamarin Obj Folder in Project : .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. Worked for me

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM