Error: Could not find 1 Android X assemblies, make sure to install the following NuGet packages: - Xamarin.AndroidX.Palette code example

Example: could not find 21 android x assemblies make sure to install the following nuget packages

Could not find 21 Android X assemblies, make sure to install the following NuGet packages:
 - Xamarin.AndroidX.Lifecycle.LiveData
 - Xamarin.AndroidX.Browser
 - Xamarin.Google.Android.Material
 - Xamarin.AndroidX.Legacy.Support.V4
 - Xamarin.AndroidX.MediaRouter
You can also copy-and-paste the following snippet into your .csproj file:
    <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.1.0.1" />
    <PackageReference Include="Xamarin.AndroidX.Browser" Version="1.0.0.1" />
    <PackageReference Include="Xamarin.Google.Android.Material" Version="1.0.0.1" />
    <PackageReference Include="Xamarin.AndroidX.Legacy.Support.V4" Version="1.0.0.1" />
    <PackageReference Include="Xamarin.AndroidX.MediaRouter" Version="1.1.0.1" /> (CarritoCompras.Android)