Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Support library r18

$
0
0

Hi!

I installed the component "Android Support Library v4 (Rev 18) 4.18.0" to be able to use for example WakefulBroadcastReceiver. After install, I get conflicts with the old library (Rev. 17).

Mainly these:

The type 'Android.Support.V4.App.FragmentActivity' exists in both '<...>MonoAndroid\v4.2\Mono.Android.Support.v4.dll' and 'Components\xamandroidsupportv4-18-4.18.0\lib\android\Xamarin.Android.Support.v4-r18.dll'

The type 'Android.Support.V4.App.ListFragment' exists in both '<...>MonoAndroid\v4.2\Mono.Android.Support.v4.dll' and 'Components\xamandroidsupportv4-18-4.18.0\lib\android\Xamarin.Android.Support.v4-r18.dll'

(<...> added by me)

Removing the old reference to Mono.Android.Support.v4 solves these, but causes a new error:

Error 1 cannot find symbol symbol : class OnActionExpandListener location: class android.support.v4.view.MenuItemCompat android.support.v4.view.MenuItemCompat.OnActionExpandListener <...>obj\Debug\android\src\mono\android\support\v4\view\MenuItemCompat_OnActionExpandListenerImplementor.java

Seems like OnActionExpandListener is missing in rev. 18. Any idea on how to solve this? Thanks!


Viewing all articles
Browse latest Browse all 204402

Trending Articles