question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Assembly 'Xamarin.Android.Support.v4' is using '[assembly: Java.Interop.JavaLibraryReferenceAttribute]', which is no longer supported.

See original GitHub issue

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

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:closed
  • Created 4 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
netstar-ghcommented, Aug 31, 2020

image

0reactions
moljaccommented, Jul 15, 2022

Indeed you have a problem. Throwing that kind of offensive and useless comments here does not help anyone. If you don’t have anything to add to the conversation, why even bothering?

Thank you very much. Appreciated.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found