构建失败:Xamarin.Android不支持运行以前的版本。在运行或调试之前,请确保您的解决方案已构建。 [英] Build Failed: Xamarin.Android does not support running the previous version. Please ensure your solution builds before running or debugging it.

查看:66
本文介绍了构建失败:Xamarin.Android不支持运行以前的版本。在运行或调试之前,请确保您的解决方案已构建。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!

我正在使用Visual Studios 2017并使用Xamarin制作Android应用程序。

Im working on Visual Studios 2017 and using Xamarin to make an Android app.

我总是收到此错误开始编译时:

I always get this error when Starting to compile:

构建失败:Xamarin.Android不支持运行以前的版本。 请确保在运行或调试之前构建解决方案。

Build Failed: Xamarin.Android does not support running the previous version.  Please ensure your solution builds before running or debugging it.

我已经尝试过各种版本的Android Target框架版本如:

I have already tried various versions of Android Target Framework versions such as:

Android 4.4 Kit Kat

Android 4.4 Kit Kat

Android 7.1 Nougat

Android 7.1 Nougat

Android 8.1 Oreo 

Android 8.1 Oreo 

但我总是得到同样的错误。

but I always get the same error.

我还能做什么?

我也不能选择运行模拟器来测试应用程序。如何解决这两个错误?

Also I can not choose to run an emulator to test the apps out. How to fix both errors?

推荐答案

请尝试设置你的 启动项目到Android应用程序
并查看。

Please try to set your startup project to the android app and see.

https ://stackoverflow.com/questions/21581863/build-failed-monodroid-does-not-support-running-the-previous-version

 

问候,

Fletcher


这篇关于构建失败:Xamarin.Android不支持运行以前的版本。在运行或调试之前,请确保您的解决方案已构建。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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