@JarvanZhang I tried to follow the doc you linked above. But I don't have the Android Support libs mentioned in it. I have the following libs installed:
Xamarin.Android.Support.Design
Xamarin.Android.Support.v4
Xamarin.Android.Support.v7.AppCompat
Xamarin.Android.Support.v7.CardView
Xamarin.Android.Support.v7.MediaRouter
Anyway as I was getting error on the MediaRouter, I removed Xamarin.Android.Support.v7.MediaRouter and tried to install Xamarin.AndroidX.MediaRouter. But it rolled back with the following message in Output window:
NU1107: Version conflict detected for Xamarin.Android.Support.Collections. Install/reference Xamarin.Android.Support.Collections 28.0.0.3 directly to project ToDoPlus.Android to resolve this issue.
ToDoPlus.Android -> Xamarin.Android.Support.v4 28.0.0.3 -> Xamarin.Android.Support.Media.Compat 28.0.0.3 -> Xamarin.Android.Support.VersionedParcelable 28.0.0.3 -> Xamarin.Android.Support.Collections (= 28.0.0.3)
ToDoPlus.Android -> Xamarin.Auth 1.7.0 -> Xamarin.Android.Support.CustomTabs 28.0.0.1 -> Xamarin.Android.Support.Collections (= 28.0.0.1).
This also mentions about Xamarin.Auth 1.7.0 which is also installed in my project. Do I have to remove this also? Then what is the replacement for it?
I updated my VS2019 to v16.8.4 which was available today only. Also installed Android SDK Build Tools 29.0.3. It appears migrating to XF 5.0 is quite messy.