Xamarin Android: Shared MonoRuntime error

旧巷老猫 提交于 2019-12-21 21:27:53

问题


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 is not supported. This can be resolved by changing the project configuration or using a Release build.

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?


回答1:


Right click to your Android Project -> Properties

Disable the option "Use Shared Runtime"




回答2:


I got it.

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




回答3:


After removing Shared Runtime and Fast Deployment from Android Options, I had to restart Visual Studio and switch again on Release configuration for the settings to take effect.



来源:https://stackoverflow.com/questions/37756286/xamarin-android-shared-monoruntime-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!