amay077 / Xamarin.Forms.GoogleMaps

Map library for Xamarin.Forms using Google maps API
https://www.nuget.org/packages/Xamarin.Forms.GoogleMaps/
MIT License
546 stars 347 forks source link

problem building android after update to Xamarin Forms 5.0 #764

Closed PaoloLeva closed 3 years ago

PaoloLeva commented 3 years ago

VERSIONS

PLATFORMS

ACTUAL BEHAVIOR

After upgrading to Xamarin Forms 5 I keep getting these messages when adding Xamarin.Forms.GoogleMaps package. Sometimes with other Android packages. I do what the error message says and add Xamarin.Android.Support.* packages but now it asks me to add a package that I already have.

ACTUAL SCREENSHOTS/STACKTRACE

Version conflict detected for Xamarin.Android.Support.Media.Compat. Install/reference Xamarin.Android.Support.Media.Compat 26.0.2 directly to project GeoQuizApp.Android to resolve this issue. 
 GeoQuizApp.Android -> Xamarin.Forms.GoogleMaps 3.3.0 -> Xamarin.GooglePlayServices.Maps 60.1142.1 -> Xamarin.GooglePlayServices.Basement 60.1142.1 -> Xamarin.Android.Support.Media.Compat (>= 26.0.2) 
 GeoQuizApp.Android -> Xamarin.Forms.GoogleMaps 3.3.0 -> Xamarin.Android.Support.v7.AppCompat 25.1.0 -> Xamarin.Android.Support.Media.Compat (= 25.1.0).

EXPECTED BEHAVIOR

I expect to be able to upgrade to Xamarin Forms 5 and compile my Android project

HOW TO REPRODUCE

Get a project using Xamarin Forms 4.8 and Xamarin.Forms.GoogleMaps 3.3.0 and upgrade Xamarin Forms to 5 and try to rebuild the Android project

PaoloLeva commented 3 years ago

OK We can close this, I switched to the 4.0.0.BETA1 and I can build (even if I get some other issue, reported in the thread about 4.0.0.BETA1)