Xamarin Forms UWP 启动时崩溃

问题描述 投票:0回答:0

调试输出,包括堆栈跟踪:

GLLDBG 权限检查成功 ...

GLLDBG:PetUI 显示 C:\Users\india\AppData\Local\Packages c046c82-7c9c-41e1-b7aa-0c1798833708_1d3xttr4xanc4\LocalState\photos\img676e113a6a9d41aa82bd2af2a6dc6631.jpg

抛出异常:System.Private.CoreLib.dll 中的“System.ArgumentNullException” PetDiary.UWP.exe 中的 0x76EAA892 (KernelBase.dll) 处抛出异常:WinRT 发起错误 - 0x80004003:“System.ArgumentNullException:值不能为空”。 在 Xamarin.Forms.Platform.UWP.Platform.SetCurrent(页面新页面,布尔弹出,布尔模式,操作完成回调) 在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(对象状态) 在 System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()'。 奥内科尔

c# forms xamarin uwp
© www.soinside.com 2019 - 2024. All rights reserved.