Exception while loading assemblies Xamarin.Android.Support.v4

Mike Darwish picture Mike Darwish · Mar 17, 2016 · Viewed 21.1k times · Source

I am working on visual studio with Xamarin.Forms, I get the following Error:

Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Xamarin.Android.Support.v4, Version=1.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? File name: 'Xamarin.Android.Support.v4.dll' at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel) at Xamarin.Android.Tasks.ResolveAssemblies.Execute() SportBook.Droid

What should I do?

Answer

Mike Darwish picture Mike Darwish · Mar 17, 2016

Go to NuGet and update Xamarin Android Support Library -v4 package, And in some cases you need also to update Xamarin.Forms Library, For more info check the following link:

https://forums.xamarin.com/discussion/26685/xamarin-forms-filenotfoundexception-xamarin-android-support-v4

enter image description here