The type or namespace name 'Gms' does not exist in the namespace issue

Nishanthi Kumari 96 Reputation points
2021-03-09T09:19:48.267+00:00

I am using below references( xamarin Forms)

Xamarin.GooglePlayServices.Base 117.6.0
Xamarin.Forms 4.8.0.16
Monodroid v10

I cant add this Android.Gms.Tasks.IOnSuccessListener to Android MainActivity i am getting this error
"The type or namespace name 'Gms' does not exist in the namespace issue"

If I create a new solution and add above configuarations its working fine. My existing project is getting the error.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes