NAXAM / mapbox-xamarin-forms

Mapbox on Xamarin.Forms
Apache License 2.0
73 stars 41 forks source link

Demo project from repo doesn't compile #113

Open brzezinol opened 3 years ago

brzezinol commented 3 years ago

After clone repo and try to compile Demo project, it doesn't compile at all. Is it intended behavior or I miss something important ?

` Rebuild started... Restored C:\Users\Piotr\Source\Repos\mapbox-xamarin-forms\demo\MapBoxQs\MapBoxQs.csproj (in 167 ms). Restored C:\Users\Piotr\Source\Repos\mapbox-xamarin-forms\Naxam.Mapbox.Platform.iOS\Naxam.Mapbox.Platform.iOS.csproj (in 172 ms). Restored C:\Users\Piotr\Source\Repos\mapbox-xamarin-forms\Naxam.Mapbox.Forms\Naxam.Mapbox.Forms.csproj (in 195 ms). NU1605: Detected package downgrade: GeoJSON.Net from 1.2.15 to 1.1.73. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> Naxam.Mapbox.Forms -> GeoJSON.Net (>= 1.2.15) MapBoxQs.iOS -> GeoJSON.Net (>= 1.1.73) NU1605: Detected package downgrade: Xamarin.Forms from 4.5.0.530 to 4.2.0.778463. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> Naxam.Mapbox.Forms -> Xamarin.Forms (>= 4.5.0.530) MapBoxQs.iOS -> Xamarin.Forms (>= 4.2.0.778463) NU1605: Detected package downgrade: Xamarin.Forms from 4.5.0.530 to 4.2.0.778463. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> Naxam.Mapbox.Platform.iOS -> Xamarin.Forms (>= 4.5.0.530) MapBoxQs.iOS -> Xamarin.Forms (>= 4.2.0.778463) NU1605: Detected package downgrade: GeoJSON.Net from 1.2.15 to 1.1.73. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> Naxam.Mapbox.Platform.iOS -> GeoJSON.Net (>= 1.2.15) MapBoxQs.iOS -> GeoJSON.Net (>= 1.1.73) NU1605: Detected package downgrade: Newtonsoft.Json from 12.0.3 to 12.0.2. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> MapBoxQs -> Newtonsoft.Json (>= 12.0.3) MapBoxQs.iOS -> Newtonsoft.Json (>= 12.0.2) NU1605: Detected package downgrade: Xam.Plugin.Media from 5.0.1 to 4.0.1.5. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> MapBoxQs -> Xam.Plugin.Media (>= 5.0.1) MapBoxQs.iOS -> Xam.Plugin.Media (>= 4.0.1.5) NU1605: Detected package downgrade: GeoJSON.Net from 1.2.15 to 1.1.73. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> MapBoxQs -> GeoJSON.Net (>= 1.2.15) MapBoxQs.iOS -> GeoJSON.Net (>= 1.1.73) NU1605: Detected package downgrade: Xamarin.Essentials from 1.5.2 to 1.3.1. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> MapBoxQs -> Xamarin.Essentials (>= 1.5.2) MapBoxQs.iOS -> Xamarin.Essentials (>= 1.3.1) NU1605: Detected package downgrade: Shiny.Net.Http from 1.1.0.1473 to 1.0.0.400-beta. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> MapBoxQs -> Shiny.Net.Http (>= 1.1.0.1473) MapBoxQs.iOS -> Shiny.Net.Http (>= 1.0.0.400-beta) NU1605: Detected package downgrade: Rg.Plugins.Popup from 1.2.0.223 to 1.1.5.188. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> MapBoxQs -> Rg.Plugins.Popup (>= 1.2.0.223) MapBoxQs.iOS -> Rg.Plugins.Popup (>= 1.1.5.188) NU1605: Detected package downgrade: Acr.UserDialogs from 7.1.0.442 to 7.0.30. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> MapBoxQs -> Acr.UserDialogs (>= 7.1.0.442) MapBoxQs.iOS -> Acr.UserDialogs (>= 7.0.30) NU1605: Detected package downgrade: Xamarin.Forms from 4.5.0.530 to 4.2.0.778463. Reference the package directly from the project to select a different version. MapBoxQs.iOS -> MapBoxQs -> Xamarin.Forms (>= 4.5.0.530) MapBoxQs.iOS -> Xamarin.Forms (>= 4.2.0.778463) Restored C:\Users\Piotr\Source\Repos\mapbox-xamarin-forms\Naxam.Mapbox.Platform.iOS.Tests\Naxam.Mapbox.Platform.iOS.Tests.csproj (in 252 ms). Restored C:\Users\Piotr\Source\Repos\mapbox-xamarin-forms\demo\iOS\MapBoxQs.iOS.csproj (in 261 ms). NU1603: Naxam.Mapbox.Platform.Droid depends on Naxam.MapboxGestures.Droid (>= 0.6.0) but Naxam.MapboxGestures.Droid 0.6.0 was not found. An approximate best match of Naxam.MapboxGestures.Droid 0.7.0 was resolved. NU1102: Unable to find package Naxam.MapboxTraffic.Droid with version (>= 0.10.0)

`

charlescol commented 3 years ago

same problem...

NehpetsEtnam commented 2 years ago

I think this was introduced by this PR https://github.com/NAXAM/mapbox-xamarin-forms/pull/84 @tuyen-vuduc @jploo these versions are not found on nuget.org Naxam.MapboxAnnotation.Droid Version 0.8.0 Naxam.MapboxTraffic.Droid Version 0.10.0 Naxam.MapboxBuilding.Droid Version 0.7.0

lower versions were not compatible with androidx

Deathgar commented 2 years ago

Get a demo from here. Here is version 8. But, I still have a black screen instead of a map.

https://github.com/NAXAM/mapbox-xamarin-forms/tree/mapbox-v8

kojini commented 2 years ago

Having the same problem. I'm trying to use it in a .NET MAUI project though. I installed a lower version 1.0.8.4 but it doesn't build (I know it's not built for .NET MAUI but I had to try).