Sudo rm -rf /Applications/Xamarin Studio.app ( see below, based on a xamarin forum post ). I ended up writing a script to uninstall Xamarin Studio as I did it so many times Sorry I can't give you a real answer but I was desperately fiddling with things and I'm not sure which one fixed it. I have exactly the same setup as you, I eventually got it working, I tried a bunch of reinstalls, fixed the missing zipalign ( ) problem and at some point it started working again. Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_51-b13) GTK+ 2.24.23 (Raleigh theme) Package version: 304000214Īndroid SDK: /Users/danhumphrey/Library/Developer/Xamarin/android-sdk-mac x86 This is obviously critical for me - can I downgrade until this is fixed? None of the log files are updated with any exception info (not modified for over 15 mins). Cannot cast from source type to destination type."
Right clicking the project, then Choosing "Run With > " shows:
Android emulator for xamarin on mac execution failed after closing android#
I have been happily working away all day, then regrettably upgraded Xamarin Studio and now I cannot run on any of my 3 Android devices. System.InvalidCastException: Cannot cast from source type to destination type.Īt ( conf) in /Users/builder/data/lanes/1008/e5a428ce/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidProject.cs:419Īt ( info) in /Users/builder/data/lanes/1008/e5a428ce/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidCommands.cs:299Īt .InternalUpdate ( info) in /Users/builder/data/lanes/1008/e5a428ce/source/monodevelop/main/src/core/MonoDevelop.Ide//CommandHandler.cs:47Īt .DefaultUpdateCommandInfo ( cmd, info) in /Users/builder/data/lanes/1008/e5a428ce/source/monodevelop/main/src/core/MonoDevelop.Ide//CommandManager.cs:1216Īt .GetCommandInfo (System.Object commandId, targetRoute) in /Users/builder/data/lanes/1008/e5a428ce/source/monodevelop/main/src/core/MonoDevelop.Ide//CommandManager.cs:1181 Still no luck on this but I did at one stage get a dialog box popup with a stack trace