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
Assembly 'Xamarin.Android.Support.v4' is using '[assembly: Java.Interop.JavaLibraryReferenceAttribute]', which is no longer supported. #48
Comments
Solved by bumping TargetFramework to latest. Another solution was either to upgrade to 16.5 Preview 2 or downgrade to 16.3. Closing. |
Moljac, Thank you, |
The XA0121 warning from Xamarin.Android 10.1 is now an error because compatibility with the old GetAdditionalResourcesFromAssemblies MSBuild task has been removed. Any project that uses one of the affected Xamarin.Android.Support libraries from version 26 or earlier will now see errors like: Copy |
I have updated all Xamarin.Android.Support.* to v28.0.0.3 but still now working, This issue happen after I update the VS2019 to 16.7.2 Can you guys let me know how to fix it? |
Spending half a day and still struggling, VS updated and NuGet as well but everything still failing to build |
Me too.. mine is Xamarin.Android.Support.CustomTabs and Xamaarin.Android.Support.v4. |
So update - i had not realized i needed to start using AndroidX istead of all the Xamarin.Android.Support. I have gotten rid of all Xamarin.Android.Support.xxxxx nuget packages... however i get error messages all very close to 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 I have gone through each package, and I cant quite find what is referencing it so i can remove/replace. VS 16.7.7 on PC Additionally - I have Target Framework = 10.0 in both places referenced. Min and Target are both set to 10. |
I'm in the same situation as you @HUBBER12 but I'm using VS 16.7.5 , targetting v11.0. |
Did you guys find a solution to this? |
i had a some fuking problem!! |
Indeed you have a problem. Throwing that kind of offensive and useless comments here does not help anyone. |
Thank you very much. Appreciated. |
Xamarin.Android Version (eg: 6.0):
AndroidX
Operating System & Version (eg: Mac OSX 10.11):
MacOSX builds on Azure DevOps
Support Libraries Version (eg: 23.3.0):
Describe your Issue:
Error
Details
Steps to Reproduce (with link to sample solution if possible):
Include any relevant Exception Stack traces, build logs, adb logs:
The text was updated successfully, but these errors were encountered: