Hello since the last Xamarin update
we get this error
.
CS0012 The type 'IJavaPeerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'Java.Interop, Version=0.1.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. ImageLibrary C:\Users\rutge\Source\Repos\GarderobeApp\ImageSwiper\ImageSwiper.cs 33 Active
Does anybody have an idea what this means?
In my case it was a bit different, I couldn't find monoandroid folder in
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.
So on further I searched and found it in
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid
This might be the case with someone else.
I go the same error after the last update. You just have to add the reference to Java.Interop to resolve the problem.
If you need some screenshots, I can provide them later.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With