Bug 29068 - The layout could not be loaded: Xamarin.Designer.DesignerException
Summary: The layout could not be loaded: Xamarin.Designer.DesignerException
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.20.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jérémie Laval
Depends on:
Reported: 2015-04-14 05:16 UTC by Alex
Modified: 2017-09-12 18:47 UTC (History)
3 users (show)

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:

Description Alex 2015-04-14 05:16:21 UTC
Issues with the designer are becoming more and more annoying. Since latest update I Can't open some layouts anymore.

=== Xamarin Studio ===

Version 5.8.3 (build 1)
Installation UUID: 6462d445-676f-48dc-8d02-deb35154603b
	Microsoft .NET 4.0.30319.18444
	GTK+ 2.24.22 (MS-Windows theme)
	GTK# 2.12.26

=== Xamarin.Android ===

Version: 4.20.2 (Business Edition)
Android SDK: C:\Users\aschonefeld\AppData\Local\Android\android-sdk
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
Java SDK: C:\Program Files\Java\jdk1.8.0_31
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

=== Xamarin Android Player ===

Not Installed

=== Build Information ===

Release ID: 508030001
Git revision: 6e8e725e0d689351901c2c70453bfa4ea25e293b
Build date: 2015-04-06 15:20:49-04
Xamarin addins: 051cd5f8c1b5dbfc87eaef80a74aec03f34c60a8

=== Operating System ===

Windows 6.1.7601.65536 (64-bit)
Comment 1 Alex 2015-04-14 05:17:19 UTC
I can't even add an attachment to this bug report, the file selection dialog isn't opening.
Comment 2 Alex 2015-04-14 05:18:15 UTC
Editor logs http://pastebin.com/uA3QWuUP
Comment 3 Arpit Jha 2015-04-27 03:48:20 UTC
  I have checked this issue and able to reproduce this issue with the help of bug description.
 Steps I have followed:

  1.Create a Xamarin Android Application.
  2.Add Menu directory in Resources folder.
  3.Add  empty xml file in  menu directory.
  4.Click on menu dropdown in android designer and select menu..
  Getting Xamarin.Desinger,DesignerException in  android designer.

  Supplement Info:
  Screencast : http://www.screencast.com/t/RTbQNJ0QsN
  Ide log: https://gist.github.com/Arpit360/39aab7da9f913a42cac9

 can you please confirm me that you are getting issue with same steps that I have followed or if any please let us know the steps So that we can   confirm the issue.

  Environment Info:
  === Xamarin Studio ===

Version 5.9 (build 436)
Installation UUID: a0cab582-25eb-47fe-aa4a-c41ae667ad31
	Microsoft .NET 4.0.30319.34003
	GTK+ 2.24.22 (MS-Windows theme)
	GTK# 2.12.26

=== Xamarin.Android ===

Version: 5.1.0 (Trial Edition)
Android SDK: D:\android-sdk\android-sdk
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: C:\Program Files\Java\jdk1.7.0_67
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin Android Player ===

Version: 0.3.4
Location: C:\Program Files\Xamarin Android Player\DeviceManager.exe

=== Build Information ===

Release ID: 509000436
Git revision: 7e8ba4cbccf7b188ce5e80a90fdc4acdedb5a83f
Build date: 2015-04-23 12:20:28-04
Xamarin addins: 21fd95f743742c5237e22023996c2800ce3f8db3

=== Operating System ===

Windows 6.2.9200.0 (64-bit)
Comment 4 Jon Douglas [MSFT] 2017-09-12 18:47:21 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Android. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.