Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Xamarin.Android.Support libraries to use AndroidX libs #70

Open
JKennedy24 opened this issue Jan 14, 2021 · 3 comments
Open

Upgrade Xamarin.Android.Support libraries to use AndroidX libs #70

JKennedy24 opened this issue Jan 14, 2021 · 3 comments

Comments

@JKennedy24
Copy link

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

@mcfoi
Copy link

mcfoi commented Jan 25, 2021

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.

@JKennedy24
Copy link
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

@mcfoi
Copy link

mcfoi commented Jan 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants