[英]Xamarin Forms crash when debugging
Looks like an error with your linked libaries. 链接的库似乎有错误。 Try this:
尝试这个:
Thanks for Pavendhan Kumar's advice . 感谢Pavendhan Kumar的建议 。
You could try clearing bin,obj folders and to uninstall previously installed app with this name, sometimes the uninstalled app have an entry at this location with its namespace. 您可以尝试清除bin,obj文件夹并使用此名称卸载以前安装的应用程序,有时,已卸载的应用程序在此位置具有其名称空间的条目。
Also try cancelling " Use shared runtime option
" under android Properties->Android Options->cancel
in project file. 也可以尝试在项目文件中的android
Properties->Android Options->cancel
下取消“ Use shared runtime option
”。
EDIT : 编辑 :
You could enable diagnostic logging and then check which reference leads to the wrong assembly. 您可以启用诊断日志记录,然后检查哪个引用导致了错误的组装。
Tools -> Options -> Projects and Solutions -> Build and Run -> Choose Diagnostic logging
问题是:“当我将CRUD项目与Android Project中的引用一起使用时,如果我有system.Drawing,则不会构建该项目,因为Android Project不接受System.Drawing。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.