Xamarin.forms.googlemaps: install the latest version of 'Google Repository' from the 'Extras'

Created on 10 Mar 2018  路  7Comments  路  Source: amay077/Xamarin.Forms.GoogleMaps

BUG

SUMMARY

When I add Xamarin.Forms.GoogleMaps nuget package to my Android project, I get this build errors:

1>------ Build started: Project: Sayba.Xamarin.Android, Configuration: Debug Any CPU ------
1>C:\TFS_Sayba\Sayba\Services\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): error XBD009: Partial Download Failed for one or more parts
1>C:\TFS_Sayba\Sayba\Services\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): error : An error occurred while sending the request.
1>C:\TFS_Sayba\Sayba\Services\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets(47,3): error XBD404: Please open the Android SDK Manager and install the latest version of 'Google Repository' from the 'Extras' section, and then reload your solution.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

My Google Repository version is 47

VERSIONS

  • Xamarin.Forms.GoogleMaps - 2.3.0
  • Xamarin.Forms - 2.5.0.280555

PLATFORMS

  • [ ] Android

HOW TO REPRODUCE

Just add the package to your project!

Most helpful comment

I solved this problem but there wasn't a straight forward way. Here is some of activities that I did:
1-Downloading API level 26 in Android SDK Manager
2-Using Oreo as target framework in Xamarin.Android project(Compile using Android version ...)
3-Updating everyting in Tools and Extra sections in Android SDK Manager
4-Installing Google Play Services in Extra section in Android SDK Manager
5-Removing bin and obj, cleaning, rebuilding, restaring visual studio 1000 times!
Hope this helps
Sorry for bad English.

All 7 comments

Got the same error. Care to explain what was it?

I solved this problem but there wasn't a straight forward way. Here is some of activities that I did:
1-Downloading API level 26 in Android SDK Manager
2-Using Oreo as target framework in Xamarin.Android project(Compile using Android version ...)
3-Updating everyting in Tools and Extra sections in Android SDK Manager
4-Installing Google Play Services in Extra section in Android SDK Manager
5-Removing bin and obj, cleaning, rebuilding, restaring visual studio 1000 times!
Hope this helps
Sorry for bad English.

Google play services did it, thanks a lot.

@ernestochaves, I installed google play services, but the problem still remains.
Do you remember doing anything extra?

Have you done all the 5 steps? I don't remember anything extra.

I did all steps as well. After I added google play services, restarted everything, clean, etc.

    maven {
        url 'https://maven.google.com/'
        name 'Google'
    }

this is not work for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dreamsystems picture dreamsystems  路  5Comments

idan-rubin picture idan-rubin  路  6Comments

talhaa91 picture talhaa91  路  4Comments

mtsrdr picture mtsrdr  路  6Comments

goodguy010 picture goodguy010  路  5Comments