0

我使用 Visual Studio 在 Xamarin 表单上开发了一个移动应用程序。

我正在使用 Xamarin 形式 4.5+ 和 Android 9.0- API 28。

当我运行我的应用程序时,我正在使用 Panacake 视图和共享转换,我在下面收到此错误:

未处理的异常:

System.TypeLoadException: Could not load type Plugin.SharedTransitions.SharedTransitionShell while decoding custom attribute: (null) occurred

4

1 回答 1

0

请使用Xamarin.Forms version.4.8.0.1560Xamarin.Forms.PancakeView 2.3.0.759并且Xamarin.Plugin.SharedTransitions 2.4.0,我的目标框架将其设置为Android 9.0. 它可以正常运行。

于 2020-11-03T07:34:13.857 回答