As an answer:
The Maui project uses AndroidX instead of the Android.Support. So Please make sure that you have migrate the Android.Support package to AndroidX package when you migrate xamarin project to maui project.
Note: No only the Main project but also the other projects main project referenced.