edsnider / localnotificationsplugin

Local Notifications Plugin for Xamarin and Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade Xamarin.Android.Support libraries to use AndroidX libs

JKennedy24 opened this issue · comments

There is currently a bug mentioned here #69 (comment)

which is caused by using an outdated Xamarin.Android.Support.V4 version. It would be worthwhile upgrading that dependency, but at the same time swapping over to support the AndroidX libraries

Same as @JKennedy24 said.
This is the message reported:

Assembly 'Xamarin.Android.Support.v4' is using '[assembly: Java.Interop.JavaLibraryReferenceAttribute]', which is no longer supported. Use a newer version of this NuGet package or notify the library author.

To fix this error you need to install the Xamarin.Android.Support.V4 library manually and install V27.0.2 or higher.

looks like this github project is not supported.

Ideally it would upgrade to use the new AndroidX libraries, but for now manually installing the support package is a workaround

@JKennedy24 Thaks! Installing Xamarin.Android.Support.V4 pakage using NuGet Manager on just the Xamarin.Android part of the project did the trick. Thanks