question

NishanthiKumari-8451 avatar image
0 Votes"
NishanthiKumari-8451 asked ·

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

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.


dotnet-xamarinforms
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Firstly, close your VS, then try to delete bin and obj folders in your project folder, then open your VS and rebuild your project, if this issue is still existed.

0 Votes 0 ·

Please update all of you nuget packages to the latest and set android target framework to android 9.0 or later.

0 Votes 0 ·

0 Answers