我想在我的应用程序(xamarin.forms)中使用加速度传感器。我还使用了另一个应该工作的项目中的文件,因此为什么我不知道为什么会收到异常错误
public static IDeviceSensors Current
{
get
{
IDeviceSensors ret = implementation.Value;
if (ret == null)
{
**throw NotImplementedInReferenceAssembly();**
}
return ret;
}
}
我错过了什么吗?