gpt4 book ai didi

c# - 应用程序开始崩溃

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:17:58 24 4
gpt4 key购买 nike

将我的更新发送到 App Store 后,应用程序在从 App Store 下载时崩溃,但是通过 Xamarin Studio 进行调试工作正常。

但是现在,当我尝试在我的设备上发布/调试时,它开始崩溃并出现以下错误:

2013-05-21 10:20:30.933 nytLectio[10969:c07] Could not register the assembly 'MBProgressHUD': MonoTouch.MonoTouchException: Cannot register two managed types ('MBProgressHUD.MTMBProgressHUD' and 'AlexTouch.MBProgressHUD.MBProgressHUD') with the same native name ('MBProgressHUD').
at MonoTouch.Registrar.Registrar.RegisterType (System.Type type, System.Collections.Generic.List`1 exceptions) [0x00000] in <filename unknown>:0
at MonoTouch.Registrar.Registrar.RegisterAssembly (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0

我认为这就是导致崩溃的原因,但我不知道如何修复它,这让我感到困惑,因为它可以在模拟器中进行调试和发布,但不能在我的设备上进行。

最佳答案

您好,您正在使用绑定(bind) MBProgressHUDMBProgressHUD.MTMBProgressHUDAlexTouch.MBProgressHUD.MBProgressHUD 的 2 个库,请只使用一个,我愿意建议使用 Xamarin Components Store 上的那个这是 MBProgressHUD 的更新版本,您可以安全地替换当前使用的版本。

顺便说一句,我是 AlexTouch.MBProgressHUD.MBProgressHUD C# Binding 的作者,我可以告诉你它最近没有更新,所以我鼓励你使用 Components Store 上的那个。 .感谢Jonathan George感谢他惊人的图书馆。

希望对你有帮助

亚历克斯

关于c# - 应用程序开始崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16665296/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com