System.ObjectModel Warning Xamarin does not run on Android

Neil Camilleri picture Neil Camilleri · Jul 8, 2016 · Viewed 23.6k times · Source

We are running the 'Welcome to Xamarin` example on Visual Studio Enterprise, using the latest Xamarin, in a Windows 8.1 environment.

We are managing to build and run on both Windows and Apple, but we are facing problems with Android.

Error: The referenced component System.ObjectModel could not be found.

The errors can be seen in the screen shot below:

See screenshot

We've already tried searching online for solutions, we found some, which we tried, but to no avail.

On the other hand, is Xamarin compatible with Windows 8.1? Perhaps some Android requirement actually needs a Windows 10 environment.

Any help would be appreciated.

Answer

Jason picture Jason · Jul 21, 2016

Right click on your Android project's references and manually add the reference: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\Facades\System.ObjectModel.dll. And technically that's a warning, not an error.