Bug 32686 - The layout could not be loaded: The operation failed due to an internal error: com.android.ide.common.rendering.api.SessionParams.<init>(Lcom/android/ide/common/rendering/api/ILayoutPullParser;Lcom/android/ide/common/rendering/api/SessionParams$RenderingM
Summary: The layout could not be loaded: The operation failed due to an internal error...
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 5.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jérémie Laval
Depends on:
Reported: 2015-07-31 18:25 UTC by mustafa
Modified: 2015-08-05 11:10 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 mustafa 2015-07-31 18:25:42 UTC
I created a "Android App" project in Xamarin Studio. No changes in created project. I double clicked to "Resources>layout>Main.axml" and this error showing in Main.axml screen.

About Xamarin Studio:

=== Xamarin Studio ===

Version 5.9 (build 431)
Installation UUID: 28f4dfcb-d4e1-4729-9f27-331de6f9358e
	Microsoft .NET 4.0.30319.42000
	GTK+ 2.24.22 (MS-Windows theme)
	GTK# 2.12.26

=== Xamarin.Android ===

Version: 5.1.4 (Indie Edition)
Android SDK: C:\Program Files (x86)\Android\android-sdk
	Supported Android versions:
		2.3   (API level 10)
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
Java SDK: C:\Program Files (x86)\Java\jdk1.7.0_55
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode, sharing)

=== Xamarin Android Player ===

Not Installed

=== Build Information ===

Release ID: 509000431
Git revision: 7560726734fc7267de2fa9abed2509968deefaa8
Build date: 2015-04-17 17:09:09-04
Xamarin addins: 2e772c734ab3148054eae7bf8949f340fdeb5e5e

=== Operating System ===

Windows 6.2.9200.0 (64-bit)
Comment 1 mustafa 2015-07-31 18:34:33 UTC
Full of error message:

The layout count not be loaded: The operation failed due to an internal error: com.android.ide.common.rendering.api.SessionParams.<init>(Lcom/android/ide/common/rendering/api/ILayoutPullParser;Lcom/android/ide/common/rendering/api/SessionParams$RenderingMode;Ljava/lang/Object;Lcom/android/ide/common/rendering/api/HardwareConfig;Lcom/android/ide/common/rendering/api/RenderResources;Lcom/android/ide/common/rendering/api/IProjectCallback;IILcom/android/ide/common/rendering/api/LayoutLog;)V.
Comment 2 Dominic N [MSFT] 2015-08-05 11:10:24 UTC
Please try updating Xamarin Studio to the most recent build and check your Android SDK Build Tools. See here for further information: