Bug 5576 - MonoForAndroid 4.2.3: Designer crashes 100% of the time
Summary: MonoForAndroid 4.2.3: Designer crashes 100% of the time
Status: VERIFIED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.0
Hardware: Macintosh Mac OS
: Highest blocker
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2012-06-07 16:40 UTC by Ian
Modified: 2014-03-27 07:31 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Ian 2012-06-07 16:40:20 UTC
I am unable to open any axml file in MD.

System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.MonoDroid.Gui.AndroidDesignerView ---> System.IO.FileNotFoundException: Could not load file or assembly '/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoDroid/Xwt.Gtk.dll' or one of its dependencies. The system cannot find the file specified.
File name: '/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoDroid/Xwt.Gtk.dll'
  at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] in <filename unknown>:0 
  at MonoDevelop.MonoDroid.Gui.AndroidDesignerView..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at MonoDevelop.MonoDroid.Gui.AndroidDesignerDisplayBinding.CreateContent (FilePath fileName, System.String mimeType, MonoDevelop.Projects.Project ownerProject) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x00000] in <filename unknown>:0 


==================
MonoDevelop 3.0.3
Installation UUID: 438ac2b5-07c9-45e7-a8ce-eac5ad86371d
Runtime:
	Mono 2.10.9 (tarball)
	GTK 2.24.10
	GTK# (2.12.0.0)
	Package version: 210090011
Apple Developer Tools:
	 Xcode 4.3.2 (1177)
	 Build 4E2002
Mono for Android: 4.2.3.68199851
Android SDK: /Users/vink/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
	Version: 1.6	ApiLevel: 4
	Version: 2.1	ApiLevel: 7
	Version: 2.2	ApiLevel: 8
	Version: 2.3	ApiLevel: 10
	Version: 3.1	ApiLevel: 12
	Version: 4.0	ApiLevel: 14
	Version: 4.0.3	ApiLevel: 15
Java SDK: /usr/bin

Monotouch: 5.2.12
Build information:
	Release ID: 30003000
	Git revision: 6e7256ceafd1626d8bcfb16ba06c48e5c7b502c8-dirty
	Build date: 2012-06-07 17:47:20+0000
	Xamarin addins: 6cf73102d3e2694dc9c50bb14dc0505a55ef4444
Operating System:
	Mac OS X 10.7.4
	Darwin mac.local 11.4.0 Darwin Kernel Version 11.4.0
	    Mon Apr  9 19:32:15 PDT 2012
	    root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
Comment 1 Ian 2012-06-07 16:55:50 UTC
I just downgraded to MonoDroid 4.2.2 and get the same issue. I think it's MonoDevelop 3.0.3 that is doing it

Ian
Comment 2 Ian 2012-06-07 16:57:40 UTC
Yep. I downgraded to MonoDevelop 3.0.2 and it works now again.
Comment 4 Lluis Sanchez 2012-06-11 04:32:42 UTC
This is fixed in 3.0.3.1
Comment 5 Danish Akhtar 2014-03-27 07:31:22 UTC
Today, we have checked this issue with:

XS 4.2.4(build 266)
X.Android 4.13.0

We are successfully able to open axml file successfully in XS, without any error. Hence closing this issue.