error using FragmentTabHost in xamarin
-
hi i have added these VS2012 (xamarin C#) : 1.Xamarin.Android.Support.v4 via : Install-Package Xamarin.Android.Support.v4 -Version 20.0.0 2.android-support-v4.jar ( as AndroidJavaLibrary) --- with 634 kb 3.using Android.Support.V4.App; 4. public class Activity1 : FragmentActivity <----- i get error in Activity1 { //my codes } i get this error : The type 'Android.App.Activity' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. Thanks for help!
-
hi i have added these VS2012 (xamarin C#) : 1.Xamarin.Android.Support.v4 via : Install-Package Xamarin.Android.Support.v4 -Version 20.0.0 2.android-support-v4.jar ( as AndroidJavaLibrary) --- with 634 kb 3.using Android.Support.V4.App; 4. public class Activity1 : FragmentActivity <----- i get error in Activity1 { //my codes } i get this error : The type 'Android.App.Activity' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. Thanks for help!
-
yes, I have update the mono.android.4.10 and the problem solved! thanks in advanced !