我收到此异常:未处理的异常:System.Exception:请在特定于平台的项目中调用 CachedImageRenderer.Init 方法以使用 FFImageLoading!发生了
异常发生在外部代码中,而不是我可以单步执行的代码中。
此异常仅发生在 Visual Studio Emulator for Android 应用程序中。
但它在三星 S8 手机上运行良好。
我的 MainActvity 代码如下所示:
protected override void OnCreate(Bundle savedInstanceState)
{
FFImageLoading.Forms.Platform.CachedImageRenderer.Init(false);
// etc
}
我尝试了各种版本的 FFImageLoading 库。我目前使用的是最新的 2.4.7.944。