I got a reference error in my The referenced component 'System.ObjectModel' could not be found.
project. Well, I researched and installed the reference of this path: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\Facades\System.ObjectModel.dll
. Well, when I finished installing, without me doing something, it appeared that error:
Project App2.Android can not build using Android 7.1 (API Level 25 - Nougat) because Android SDK platform for API Level 25 is not installed. Either install it in the Android SDK Manager (Tools-> Android- > Android SDK Manager ...), or change your Xamarin.Android project to target an API version that is installed.
0
And just below, saying that the reference was not found (newly installed).
The referenced component 'System.ObjectModel' could not be found. App2.Android
I'm searching and have not found anything yet. Has anyone gone through this and could share? I'm going to install android 7.1, but what I find stranger is not finding the reference.
Edit 1
Well, I uninstalled the reference (dll) and reinstalled and nothing, continues with that yellow exclamation. I removed it again and got a link on the internet that recommended doing the installation, via NuGet. I did and now the reference does not appear in the list of references and when I squeeze, it continues with deploy error, but the warning that the reference was not found, disappeared, but it is without the said reference. The version by NuGet is 4.3.0 and I do not know the impact of it. This is the output message:
1 > Starting deploy VisualStudio_android-23_x86_phone ...
1 > Starting emulator VisualStudio_android-23_x86_phone ...
1 > C: \ PROGRA ~ 2 \ Android \ ANDROI ~ 1 \ tools \ emulator.EXE -partition-size 512 -no-boot-anim -avd VisualStudio_android-23_x86_phone -prop monodroid.avdname = VisualStudio_android-23_x86_phone1> Emulator VisualStudio_android-23_x86_phone can not be started.
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========