Hello,
Welcome to our Microsoft Q&A platform!
First, Please open your project, delete all of bin and obj folders. then rebuild your project, if it works.
If not, please make sure you have install latest Xamarin.Forms nuget package 5.0.0.2012.
Then Enable the feature:
Then run it on the Android project
And I find a known issue about this error, here are some solutions in this link, you can refer to it.
https://github.com/xamarin/Xamarin.Forms/issues/13303
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.