Xamarin Android:共享的MonoRuntime错误 [英] Xamarin Android: Shared MonoRuntime error

查看:420
本文介绍了Xamarin Android:共享的MonoRuntime错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xamarin开发一个android应用.我通过模拟器成功地进行了测试,并手动在测试云中进行了测试,但是当我尝试通过VSTS运行它时,我得到了:

I am developing an android app with Xamarin. I tested in successfully through emulator and in test cloud manually but when I am trying to run it through VSTS, I am getting:

不支持Mono Shared Runtime.这可以通过更改解决 项目配置或使用发布版本.

Mono Shared Runtime is not supported. This can be resolved by changing the project configuration or using a Release build.

我检查了我的android项目文件,共享单声道运行时已关闭.

I checked my android project file, shared mono runtime is turned off.

谁能告诉我什么可能导致此问题以及如何解决此问题?

Can anyone tell me what could cause this issue and how to resolve it?

推荐答案

我明白了.

AOT标签设置为true.我不得不禁用它并在VSTS上运行它.

AOT tag in my android solution was set to true. I had to disable it and run it on VSTS.

这篇关于Xamarin Android:共享的MonoRuntime错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆