Assembly 'Xamarin.Android.Support.v4' is using '[assembly: Java.Interop.JavaLibraryReferenceAttribute]', which is no longer supported.
See original GitHub issueXamarin.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
An error occurred when executing task 'migration-tests'.
Details
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(514,3): error XA0121: 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. [/Users/runner/runners/2.164.6/work/1/s/tests/AndroidXMigrationTests/Aarxercise.Old.Support/Aarxercise.Old.Support.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(514,3): error XA0121: 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. [/Users/runner/runners/2.164.6/work/1/s/tests/AndroidXMigrationTests/Aarxercise.Old.Support/Aarxercise.Old.Support.csproj]
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(514,3): error XA0121: Assembly 'Xamarin.Android.Support.v4' is using '[assembly: Android.IncludeAndroidResourcesFromAttribute]', which is no longer supported. Use a newer version of this NuGet package or notify the library author. [/Users/runner/runners/2.164.6/work/1/s/tests/AndroidXMigrationTests/Aarxercise.Old.Support/Aarxercise.Old.Support.csproj]
Steps to Reproduce (with link to sample solution if possible):
Include any relevant Exception Stack traces, build logs, adb logs:
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Assembly 'Xamarin.Android.Support.v4' is using ' ...
Assembly 'Xamarin.Android.Support.v4' is using '[assembly: Java.Interop.JavaLibraryReferenceAttribute]', which is no longer supported. #112.
Read more >How can I figure out what nuget package is throwing an ...
Android.Support.v4' is using '[assembly: Java.Interop.JavaLibraryReferenceAttribute]', which is no longer supported. Use a newer version of ...
Read more >How to fix errors that appear after Updating to Visual studio ...
The version of Xamarin.Forms is 2.3. You'll need to update a newer version of Xamarin.Forms because Visual Studio 2019 won't support v2.3; ...
Read more >error XA0121: Die Assembly "Xamarin.Android.Support.v4" ...
When I update my Xamarin Forms Object to Android 10 Q I get this error: error XA0121: Die Assembly “Xamarin.Android.Support.v4” verwendet ...
Read more >Resolving Android Support Library NuGet Installation Issues
NuGet and Android Support Libraries can be tricky, but I walk you through any issues with version conflicts that you may get.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you very much. Appreciated.