I suddenly started getting this error on my Xamarin forms project
/Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/xbuild/Microsoft/NuGet/Microsoft.NuGet.targets(184,5):
error : Your project is not referencing the "MonoAndroid,Version=v8.0" framework. Add a reference to "MonoAndroid,Version=v8.0" in the "frameworks" section of your project.json, and then re-run NuGet restore.
I tried to add different references but couldn't solve the issue. So, I reset the files to the last commit which was working fine but even then, I am getting this error on my android project.