Hello since the last Xamarin update
we get this error
.
CS0012 The type \'IJavaPeerable\' is defined in an assembly that is not r
You can directly copy the assembly Java.Interop.dll
from the C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0
to the bin/Debug
folder of your project to resolve the issue.
This procedure perfectly worked for me.
Thanks,
You can hover over the offending line and see the missing DLL.
Now add the missing reference;
Open the Solution Explorer, and within References right click, and select Add Reference
Within the Reference Manager click Browse, and Browse again.
In the file dialog copy and paste this path:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\
Click Java.Interop.dll