Reputation: 16813
I am trying to add a map on the Xamarin.Android
application. So far, I have added only map, I did not add any location listener. However, I keep getting the following error
package,
com.google.gms.location
does not exist
I wonder what I am missing or doing wrong?
Here is the dll's added into the references from the nuget
Upvotes: 0
Views: 881
Reputation: 10841
If you want to use GooglePlayService. The test device/emulator of your app needs to include Google API. If you are using an emulator you can follow the steps below:
Download Google API System Image for your android API Level through Tools->Android->Android SDK Manager
(ex for API Level 25 ):
Create a new Google API Emulator through Tools->Android->Android Emulator Manager->Create
:
Upvotes: 0
Reputation: 1504
Update-Package -Reinstall Xamarin.GooglePlayServices.Location
into the package manager consoleUpvotes: 1