I am adding v4 support for my Android app supporting gingerbread and up. I added an ActionBarSherlock that references Xamarin.Android.Support.v4. There is also a link to Mono.Android.Support.v4 too. I also added the android-support-v4.jar file to the SupportLib folder and set the Build action to AndroidJavaLibrary. However, I get an error message that I cannot go through:
/obj/Debug/android/src/mono/android/support/v4/view/MenuItemCompat_OnActionExpandListenerImplementor.java(41,41): Error: cannot find symbol symbol : class OnActionExpandListener location: class android.support.v4.view.MenuItemCompat android.support.v4.view.MenuItemCompat.OnActionExpandListener
Why is this error occurring? How can this be solved?
android c # xamarin xamarin.android android-support-library
Brian mains
source share