草庐IT

AddDrawerListener

全部标签

c# - 系统.MissingMethodException : Method 'Android.Support.V4.Widget.DrawerLayout.AddDrawerListener' not found

首先,我一周前开始使用C#和Xamarin开发Android,但我陷入了这个问题。我已经在StackOverflow中找到了几篇文章,但遗憾的是没有用。为了解决这个问题,我采取了一些措施。在执行以下操作之前,当我开始使用Android_Accelerated_x86(Android6.0-API23)进行调试时,VisualStudio开始查找NavigationPageRenderer但不在那里然后我得到上面的消息标题我使用AndroidSDK管理器安装和更新包,如下所示然后,我遇到了标题上写的留言System.MissingMethodException:MethodAndroid

android - Xamarin.Forms 缺少方法异常 : 'Android.Support.V4.Widget.DrawerLayout.AddDrawerListener' not found

我已经关注了以下链接中的所有内容:https://developer.xamarin.com/guides/xamarin-forms/user-interface/navigation/master-detail-page/我写的代码可以在这里找到:http://github.com/foyzulkarim/XamarinFormsDrawer我使用UWP项目在我的Windows10本地计算机中成功部署了相同的项目,但是每当我想在模拟器或我的设备中部署时,它都会抛出以下异常。System.MissingMethodException:Method'Android.Support.V4