Build Failed. MonoDroid does not support running t

2020-02-12 05:14发布

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 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: 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)

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.

10条回答
小情绪 Triste *
2楼-- · 2020-02-12 05:24

Delete the /bin and /obj folders in your Android and shared projects then try again.

查看更多
你好瞎i
3楼-- · 2020-02-12 05:24

I had the same problem. Apparently I deployed a release version to the device and then was attempting to deploy using debug after. After uninstalling the version on the device the deployment under debug worked fine.

查看更多
来,给爷笑一个
4楼-- · 2020-02-12 05:26

The "previous version" error apparently just means that there was a build error - see http://forums.xamarin.com/discussion/3410/monodroid-problem

For the jumplist problem the only links i could find were about an old version of Xamarin.Android - see Xamarin 4.0.13 Layout Renderer failed


Both of these issues seem to be related to your xamarin install. If the continue, perhaps your customer support contact in xamarin can assist.

查看更多
在下西门庆
5楼-- · 2020-02-12 05:30

Found the problem, i needed to set my startup project to the android app. I could slap myself, i didn't pay attention to it cause for WP8 it's not needed. Took me a day and half to solve this :-( Once again this proofs that error messages are not always clear in what they mean or say.

查看更多
6楼-- · 2020-02-12 05:31

I had the same issue. When I click on AVD button from Visual Studio, nothing happens. So, I opened Android Studio and from there I was able to open AVD manager and started Emulator. Then I was able to Run the application from Visual Studio without any issues.

查看更多
闹够了就滚
7楼-- · 2020-02-12 05:33

I find a solution!! Same problem:"Build Failed. MonoDroid does not support running the previous version" on VS15.

I was on VS15, then i moved to Xamarin IDE, building and debugging: appears an error about the memory in my device (Samsung Galaxy Ace), so i uninstall some applications. it had 405MB for available space before deploying I run in Xamarin IDE and the application runs I check my phone memory and the application installed use more than 100MB Then i try on Visual Studio again, all OK.

Images of my app: http://1drv.ms/1PRZwV8

查看更多
登录 后发表回答