Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Drawer Layout Exist both in Xamarin.Android.Support.Core.UI and Xamarin.Android.Support.V4

I am a newbie in Xamarin with Visual Studio 2015. I have created project with Android Support V4 and V7 earlier, and it's work fine. But after i add components from Google Play Service MAP, then all my V4 objects get errors. For instance my drawer layout, this is the error :

Severity Code Description Project File Line Suppression State Error CS0433 The type 'DrawerLayout' exists in both 'Xamarin.Android.Support.Core.UI, Version=, Culture=neutral, PublicKeyToken=null' and 'Xamarin.Android.Support.v4, Version=, Culture=neutral, PublicKeyToken=null' gtSMobileAndroid D:\Source_eMedWeb\gotoSehat\gtSMobileAndroid\gtSMobileAndroid\MainActivity.cs 20 Active

I have done many things to recover, deleting all packages and reinstall the components, but still i get this error.

Please advice.............thank you very much in advance.......


Sign In or Register to comment.