构建失败. MonoDroid不支持运行以前的版本 [英] Build Failed. MonoDroid does not support running the previous version

查看:160
本文介绍了构建失败. MonoDroid不支持运行以前的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的第一个带有MVVMCross的Xamarin android项目. 从头开始. 该项目的构建没有任何错误,但是当我尝试调试它时,构建失败:MonoDroid不支持运行以前的版本.请先运行您的解决方案,然后再运行或调试它.

This is my first Xamarin android project with MVVMCross. Started from scratch. The project builds without any errors but when i try to debug it, i get a build failed: MonoDroid does not support running the previous version. Please ensure your solution builds before running or debugging it.

Build输出显示: 1> ------部署开始:项目:Mobile.Droid,配置:调试任何CPU ------ 1>错误:操作无法完成=========== 部署:0成功,1失败,0跳过==========

Build output says: 1>------ Deploy started: Project: Mobile.Droid, Configuration: Debug Any CPU ------ 1>Error: The operation could not be completed ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

Ide.log:错误[2014-02-05 16:08:08Z]:无法更新跳转列表System.InvalidOperationException:文件类型未在此应用程序中注册.在Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()在Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()在MonoDevelop.Platform.JumpList.UpdateJumpList()在MonoDevelop.Platform.JumpList.OnUpdateTimerEllapsed(对象发送方,EventArgs args)

Ide.log: ERROR [2014-02-05 16:08:08Z]: Could not update jumplists System.InvalidOperationException: The file type is not registered with this application. at Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories() at Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh() at MonoDevelop.Platform.JumpList.UpdateJumpList() at MonoDevelop.Platform.JumpList.OnUpdateTimerEllapsed(Object sender, EventArgs args)

我正在使用Visual Studio 2012(更新4) Windows 8 Xamarin Studio 4.2.2 Xamarin.Android 4.10.02014

I'm using Visual Studio 2012 (Update 4) Windows 8 Xamarin Studio 4.2.2 Xamarin.Android 4.10.02014

请帮助我,因为我已经花了一天的时间来解决这个问题.

Please help me cause i already spent a day trying to solve this issue.

推荐答案

原因可能是您没有启动任何虚拟设备来运行或调试应用.

请检查您是否能够在开始"按钮上选择一些AVD.
在下一个示例中,我有两个运行的android模拟器:MonoForAndroid_API_10和MonoForAndroid_API_12:

The reason may be that you not launched any virtual devises for running or debugind your app.

Please check does you able to choose some AVD at your Start button.
In next example I have two runed android emulators: MonoForAndroid_API_10 and MonoForAndroid_API_12:

如果没有,请执行以下步骤:

  1. 打开Android模拟器管理器:

  1. Open Android Emulator Manager:

  1. 启动设计.现在,您可以在运行"或调试"模式下启动应用程序.
  1. Launch the devise. Now you are able to start your app in Run or Debug mode.

这篇关于构建失败. MonoDroid不支持运行以前的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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