本文介绍了Xamarin App在调试时运行,但在发行时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Xamarin应用程序在调试模式下可以完美运行,但在发行版上崩溃。我收到此错误:不幸的是,应用程序已停止。我通过USB连接手机,并且在发布模式下运行该应用程序时出现此错误。

My Xamarin application works perfectly on debug mode but crashes on release mod. I get this error: "Unfortunately App has stopped". I connected my phone through USB and when I run the app in release mode I get this error.

不幸的是,我无法在发行版mod中调试该应用程序,因为在输出窗口中收到以下消息: Android应用程序正在运行(在android项目属性中禁用了调试) ,尽管已选中启用开发人员检测框。我尝试了所有其他链接(无/ SDK / SDK和用户),但仍然无法使用。

Unfortunately I can't debug the app in release mod because I get this message in the Output window: "Android application is running (debug is disabled in android project properties)", although the "Enable developer instrumentation" box is checked. I tried all linking alternative None/SDK/SDK and User but still doesn't work.

是否可以通过日志文件或其他方式查看导致崩溃的原因?

Is there a way to see what causes the crash, in a log file or something else ?

推荐答案

确保在版本配置

这篇关于Xamarin App在调试时运行,但在发行时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 08:54
查看更多