Forum General


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Android Build Failure After Upgrade Xamarin Forms From 4.7 To 4.8

CSSStevieCSSStevie Member


This morning I updated an existing app to use Xamarin.Forms 4.8.1269,, after the update the app would no longer build for Android. The following error appears : "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"

After googling about the issue, I have updated the Android Project to the target the latest api which api 30. I have also updated all nuget packages to the latest version, this also include the latest version of visual studio.

I am not sure how to resolve this issue and if any has seen or fixed this issue any assistance would be greatly appreciated.

System Build

Microsoft Visual Studio Community 2019
Version 16.7.2
Microsoft .NET Framework
Version 4.8.03752

Installed Version: Community

Xamarin ([email protected])
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer (remotes/origin/[email protected])
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 16.7.85 (1bcbbdf)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK (d16-7/025fde9)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: 83105ba
Java.Interop: xamarin/java.interop/[email protected]
ProGuard: Guardsquare/proguard/[email protected]
SQLite: xamarin/sqlite/[email protected]
Xamarin.Android Tools: xamarin/xamarin-android-tools/[email protected]

Xamarin.iOS and Xamarin.Mac SDK (817b6f72a)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.


  • CSSStevieCSSStevie Member

    This morning I have rolled back the Xamarin.Forms package to the previous version and the issue is now gone.

Sign In or Register to comment.