After updating Xamarin from visual studio , Xamarin.Forms application gives this exception when running
System.MissingMethodException
: MethodAndroid.Support.V4.Widget.DrawerLayout.AddDrawerListener
not found
I did try to update the Nuget Packages, re-install Xamarin for visual studio, re-install android sdk, no thing worked .
How can I solve it ?
Maybe you have updated packages Android.Support.xxxx. Try it:
So I just reproduced your issue and I am sorry that you and other ran into this. It looks like there was an issue in the templates and I am working with the team to quickly resolve this.
To fix:
This should install the correct versions of everything you need for Android
Optionally, you can select just Xamarin.Forms and update to the latest version on ALL projects and it should update all references that it needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With