Bug 26026 - "Connection to the layout renderer failed"
Summary: "Connection to the layout renderer failed"
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 5.7
Hardware: PC Windows
: Normal normal
Target Milestone: 5.7.1
Assignee: Jérémie Laval
URL:
: 26047 26534 ()
Depends on:
Blocks:
 
Reported: 2015-01-14 12:44 UTC by Naor Torgeman
Modified: 2015-10-23 04:12 UTC (History)
13 users (show)

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


Attachments
C:\Program Files\Xamarin\Bonjour (375.50 KB, application/octet-stream)
2015-03-07 19:29 UTC, Ahamad Husain
Details


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 Naor Torgeman 2015-01-14 12:44:38 UTC
INFO [2015-01-14 19:38:20Z]: Starting Xamarin Studio 5.7 (build 661)
INFO [2015-01-14 19:38:20Z]: Running on Microsoft .NET 4.0.30319.34014
INFO [2015-01-14 19:38:20Z]: Found GTK# version 2.12.26
INFO [2015-01-14 19:38:20Z]: Using GTK+ 2.24.22
INFO [2015-01-14 19:38:21Z]: Add-in loaded: MonoDevelop.Core
INFO [2015-01-14 19:38:21Z]: Add-in loaded: MonoDevelop.Ide
INFO [2015-01-14 19:38:21Z]: Add-in loaded: MonoDevelop.WindowsPlatform
INFO [2015-01-14 19:38:22Z]: Initializing Runtime MS.NET
Starting Xamarin Studio
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.Debugger
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.SourceEditor2
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.DesignerSupport
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.Xml
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.AspNet
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.VBBinding
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.Refactoring
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.CSharpBinding
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.TextTemplating
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.PackageManagement
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.Xamarin.Ide
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.Debugger.Soft
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.MonoAndroid
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.NUnit
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.FSharpBinding
INFO [2015-01-14 19:38:22Z]: Add-in loaded: Xamarin.Forms.Addin
INFO [2015-01-14 19:38:22Z]: Add-in loaded: MonoDevelop.VersionControl
ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\Xamarin.iOS.Tasks.Core.dll' in framework 'MonoTouch,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.iOS.Tasks.Core.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.iOS.Tasks.Core.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.iOS.Tasks.Core.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.iOS.Tasks.Core.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\Xamarin.iOS.Tasks.dll' in framework 'MonoTouch,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.iOS.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.iOS.Tasks.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.iOS.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.iOS.Tasks.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\Xamarin.MacDev.dll' in framework 'MonoTouch,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\Xamarin.MacDev.Tasks.Core.dll' in framework 'MonoTouch,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.Tasks.Core.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.Tasks.Core.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.Tasks.Core.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.Tasks.Core.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\Xamarin.MacDev.Tasks.dll' in framework 'MonoTouch,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.Tasks.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.Tasks.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\Xamarin.ObjcBinding.Tasks.dll' in framework 'MonoTouch,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.ObjcBinding.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.ObjcBinding.Tasks.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.ObjcBinding.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.ObjcBinding.Tasks.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Xamarin.iOS.Tasks.Core.dll' in framework 'Xamarin.iOS,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.iOS.Tasks.Core.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.iOS.Tasks.Core.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.iOS.Tasks.Core.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.iOS.Tasks.Core.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Xamarin.iOS.Tasks.dll' in framework 'Xamarin.iOS,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.iOS.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.iOS.Tasks.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.iOS.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.iOS.Tasks.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Xamarin.MacDev.dll' in framework 'Xamarin.iOS,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Xamarin.MacDev.Tasks.Core.dll' in framework 'Xamarin.iOS,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.Tasks.Core.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.Tasks.Core.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.Tasks.Core.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.Tasks.Core.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Xamarin.MacDev.Tasks.dll' in framework 'Xamarin.iOS,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.Tasks.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.MacDev.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.MacDev.Tasks.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


ERROR [2015-01-14 19:38:22Z]: Error reading name for assembly 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Xamarin.ObjcBinding.Tasks.dll' in framework 'Xamarin.iOS,Version=v1.0':
System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.ObjcBinding.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.ObjcBinding.Tasks.dll' ---> System.BadImageFormatException: לא היתה אפשרות לטעון קובץ או הרכבה 'Xamarin.ObjcBinding.Tasks.dll' או אחת מהתלויות שלו. ‏‏בוצע ניסיון לטעון תוכנית עם תבנית שגויה.
שם קובץ: 'Xamarin.ObjcBinding.Tasks.dll'


   ב-  System.Reflection.AssemblyName.nGetFileInformation(String s)
   ב-  System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
   ב-  MonoDevelop.Core.Assemblies.SystemAssemblyService.GetAssemblyNameObj(String file)
   ב-  MonoDevelop.Core.Assemblies.TargetFramework.FromFrameworkDirectory(TargetFrameworkMoniker moniker, FilePath dir)


INFO [2015-01-14 19:38:23Z]: Add-in loaded: MonoDevelop.Deployment
INFO [2015-01-14 19:38:23Z]: Add-in loaded: MonoDevelop.GtkCore
INFO [2015-01-14 19:38:23Z]: Add-in loaded: MonoDevelop.WebReferences
   Loading Workbench
INFO [2015-01-14 19:38:24Z]: Add-in loaded: MonoDevelop.DocFood
INFO [2015-01-14 19:38:24Z]: Add-in loaded: MonoDevelop.RegexToolkit
INFO [2015-01-14 19:38:24Z]: Add-in loaded: MonoDevelop.AssemblyBrowser
INFO [2015-01-14 19:38:24Z]: Add-in loaded: MonoDevelop.VersionControl.Git
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk: Looking for Android SDK..
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found:
    Path contains adb.exe in \platform-tools (C:\Users\Naor\AppData\Local\Android\android-sdk).
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found:
    Path does not contain adb.exe in \platform-tools (C:\android-sdk-windows).
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found.
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\Android SDK Tools\Path found:
    Path contains adb.exe in \platform-tools (C:\Users\Naor\AppData\Local\Android\android-sdk).
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk: Looking for Android NDK..
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidNdkDirectory found:
    Path contains ndk-stack.exe in \. (C:\Users\Naor\Documents\Android\ndk\android-ndk-r8d).
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidNdkDirectory not found.
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Novell\Mono for Android\JavaSdkDirectory not found.
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\Novell\Mono for Android\JavaSdkDirectory not found.
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk: Looking for Java 6 SDK..
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion found.
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome not found.
INFO [2015-01-14 19:38:24Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.7\JavaHome found:
    Path contains jarsigner.exe in \bin (C:\Program Files (x86)\Java\jdk1.7.0_71).
INFO [2015-01-14 19:38:24Z]: ANDROID: Found Xamarin.Android 4.20.0
INFO [2015-01-14 19:38:24Z]: ANDROID: Found Android SDK. API levels: 7, 8, 10, 12, 14, 15, 19, 21
INFO [2015-01-14 19:38:24Z]: Initial entitlements: Android Indie 2015-01-16 16:33:25Z
INFO [2015-01-14 19:38:24Z]: Running license sync for Android
      Initializing Main Window
INFO [2015-01-14 19:38:24Z]: Creating DefaultWorkbench
INFO [2015-01-14 19:38:27Z]: Updating Welcome Page from 'https://software.xamarin.com/Service/News'.
INFO [2015-01-14 19:38:27Z]: Updating Prebuilt Apps from 'https://xamarin.com/PrebuiltApps.xml'.
INFO [2015-01-14 19:38:28Z]: Add-in loaded: MonoDevelop.Xamarin.Ide.Windows
INFO [2015-01-14 19:38:28Z]: Prebuilt Apps image already up-to-date.
ERROR [2015-01-14 19:38:29Z]: Could not update jumplists
System.InvalidOperationException: The file type is not registered with this application.
   ב-  Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()
   ב-  Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()
   ב-  MonoDevelop.Platform.JumpList.UpdateJumpList()
   ב-  MonoDevelop.Platform.JumpList.Run()
INFO [2015-01-14 19:38:29Z]: Add-in loaded: MonoDevelop.VersionControl.Subversion
INFO [2015-01-14 19:38:29Z]: Add-in loaded: MonoDevelop.VersionControl.Subversion.Windows
INFO [2015-01-14 19:38:29Z]: Prebuilt Apps image already up-to-date.
INFO [2015-01-14 19:38:29Z]: Prebuilt Apps image already up-to-date.
INFO [2015-01-14 19:38:29Z]: Updated license: Android Indie 16/01/2015 16:33:25
node `classlib-gecko' is not defined on the documentation map
node `classlib-taglib-sharp' is not defined on the documentation map
node `classlib-webkit' is not defined on the documentation map
INFO [2015-01-14 19:38:30Z]: Prebuilt Apps image already up-to-date.
INFO [2015-01-14 19:38:30Z]: Prebuilt Apps image already up-to-date.
INFO [2015-01-14 19:38:31Z]: Prebuilt Apps already up-to-date.
INFO [2015-01-14 19:38:31Z]: Prebuilt Apps updated.
INFO [2015-01-14 19:38:31Z]: Welcome Page updated.
INFO [2015-01-14 19:38:33Z]: Add-in loaded: MonoDevelop.ILAsmBinding
INFO [2015-01-14 19:38:33Z]: Add-in loaded: MonoDevelop.Deployment.Linux
INFO [2015-01-14 19:38:34Z]: ANDROID: Tracking android devices started
INFO [2015-01-14 19:38:34Z]: ANDROID: Got new device list from adb with 1 devices
ERROR [2015-01-14 19:38:36Z]: Could not update jumplists
System.InvalidOperationException: The file type is not registered with this application.
   ב-  Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()
   ב-  Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()
   ב-  MonoDevelop.Platform.JumpList.UpdateJumpList()
   ב-  MonoDevelop.Platform.JumpList.OnUpdateTimerEllapsed(Object sender, EventArgs args)
INFO [2015-01-14 19:38:37Z]: Add-in loaded: MonoDevelop.Debugger.Soft.AspNet
INFO [2015-01-14 19:39:51Z]: Add-in loaded: MonoDevelop.HexEditor
INFO [2015-01-14 19:39:52Z]: Error occurred during initialization of VM
INFO [2015-01-14 19:39:52Z]: Could not reserve enough space for object heap
INFO [2015-01-14 19:39:52Z]: Error: Could not create the Java Virtual Machine.
INFO [2015-01-14 19:39:52Z]: Error: A fatal exception has occurred. Program will exit.
ERROR [2015-01-14 19:39:52Z]: Connection failed
System.Exception: Could not start java process
   ב-  Xamarin.AndroidDesigner.JavaProcessConnection.DoConnect()
ERROR [2015-01-14 19:39:57Z]: Could not update jumplists
System.InvalidOperationException: The file type is not registered with this application.
   ב-  Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()
   ב-  Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()
   ב-  MonoDevelop.Platform.JumpList.UpdateJumpList()
   ב-  MonoDevelop.Platform.JumpList.OnUpdateTimerEllapsed(Object sender, EventArgs args)
INFO [2015-01-14 19:41:00Z]: ExternalToolService: No user templates, reading default templates.
Comment 1 Naor Torgeman 2015-01-14 12:46:00 UTC
Unfortunately, theres alot of hebrew in there, no idea why and how to change it.
Comment 2 Jérémie Laval 2015-01-14 14:12:14 UTC
No worries.

Couple of questions:

- How much physical RAM does your system have?
- Are you running on a 32bits or a 64bits Windows?
- Does restarting your computer and retrying help in any way?
Comment 3 Naor Torgeman 2015-01-15 09:35:25 UTC
Hey,

8GB RAM
64 bits
restarting didnt help :/

thanks
Comment 4 Brendan Zagaeski (Xamarin Team, assistant) 2015-01-15 16:00:55 UTC
Just for record-keeping, I'll mention that bug 26047 is likely a duplicate of this bug.
Comment 5 Jérémie Laval 2015-01-16 09:27:31 UTC
*** Bug 26047 has been marked as a duplicate of this bug. ***
Comment 6 Pavel 2015-01-16 12:22:53 UTC
Same Error on VS2013, Win 8.1, 8GB RAM, 64

Xamarin.VisualStudio.Shell.XamarinShellPackage Information: 0 : [2015-01-16 20:19:18.5] Error occurred during initialization of VM
Xamarin.VisualStudio.Shell.XamarinShellPackage Information: 0 : [2015-01-16 20:19:18.6] Could not reserve enough space for object heap
Xamarin.VisualStudio.Shell.XamarinShellPackage Information: 0 : [2015-01-16 20:19:18.7] Error: Could not create the Java Virtual Machine.
Xamarin.VisualStudio.Shell.XamarinShellPackage Information: 0 : [2015-01-16 20:19:18.8] Error: A fatal exception has occurred. Program will exit.
Xamarin.VisualStudio.Shell.XamarinShellPackage Error: 0 : [2015-01-16 20:19:18.9] Connection failed
System.Exception: Could not start java process
   at Xamarin.AndroidDesigner.JavaProcessConnection.DoConnect()
Comment 7 Brendan Zagaeski (Xamarin Team, assistant) 2015-01-16 18:42:31 UTC
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Error: Could not create the Java Virtual Machine.

Perhaps the latest Android designer versions might have changed the default amount of heap space requested for this Java process?


For comparison here's the beginning of the command line that starts the designer on XVS 3.8.150:

> "C:\Program Files (x86)\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt.headless=true -Xmx750m -XX:MaxPermSize=128m


... versus the beginning of the command line on XVS 3.9.236:

> "C:\Program Files (x86)\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt.headless=true -Xmx750m -XX:MaxPermSize=512m
Comment 8 Brendan Zagaeski (Xamarin Team, assistant) 2015-01-16 19:07:04 UTC
For any users seeing the issue, you can test run a quick test on your system to see if Java can run _by itself_ with the settings that the designer is trying to use.

Run the following command in a `cmd.exe` command prompt (remove the > greater-than character from the beginning of the line):

> "C:\Program Files (x86)\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt.headless=true -Xmx750m -XX:MaxPermSize=512m


(You might also need to adjust the path to `java.exe` to match your installation. It's OK to use Java 1.6 for this test too.)

Ideally, you'll want to run this immediately after the designer has failed to load. That will ensure that the memory usage on the system when attempting to run this test command matches the memory usage when attempting to load the designer.

Thanks in advance!
Comment 9 Brendan Zagaeski (Xamarin Team, assistant) 2015-01-16 20:30:51 UTC
A clarification for comment 8: what you'll want to look for is if the `java.exe` command fails with the same error message as in the log files from comment 0 and comment 6.

The full input and output would look something like this:

> C:\>"C:\Program Files (x86)\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt.headless=true -Xmx750m -XX:MaxPermSize=512m
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.

If instead the `java.exe` command just outputs a list of available options, then it has run successfully and has not hit the memory error.
Comment 10 Pavel 2015-01-17 04:02:19 UTC
I have 65% of free memory of 8GB 

C:\Users\xakpc>"C:\Program Files (x86)\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt
.headless=true -Xmx750m -XX:MaxPermSize=512m
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

C:\Users\xakpc>"C:\Program Files (x86)\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt
.headless=true -Xmx750m -XX:MaxPermSize=128m
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32          use a 32-bit data model if available
    -d64          use a 64-bit data model if available
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument

    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for m
ore details.

C:\Users\xakpc>"C:\Program Files (x86)\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt
.headless=true -Xmx750m -XX:MaxPermSize=256m
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32          use a 32-bit data model if available
    -d64          use a 64-bit data model if available
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument

    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for m
ore details.

C:\Users\xakpc>"C:\Program Files (x86)\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt
.headless=true -Xmx750m -XX:MaxPermSize=512m
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Comment 11 Pavel 2015-01-17 04:08:13 UTC
64bit version of java works fine with such amounts of memory

Microsoft Windows [Version 6.3.9600]
(c) Корпорация Майкрософт (Microsoft Corporation), 2013. Все права защищены.

C:\Users\xakpc>"C:\Program Files\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt.headl
ess=true -Xmx750m -XX:MaxPermSize=512m
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32          use a 32-bit data model if available
    -d64          use a 64-bit data model if available
    -server       to select the "server" VM
    -hotspot      is a synonym for the "server" VM  [deprecated]
                  The default VM is server.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument

    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for m
ore details.

C:\Users\xakpc>"C:\Program Files\Java\jdk1.7.0_71\bin\java.exe" -Djava.awt.headl
ess=true -Xmx750m -XX:MaxPermSize=1024m
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32          use a 32-bit data model if available
    -d64          use a 64-bit data model if available
    -server       to select the "server" VM
    -hotspot      is a synonym for the "server" VM  [deprecated]
                  The default VM is server.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument

    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for m
ore details.
Comment 12 Brendan Zagaeski (Xamarin Team, assistant) 2015-01-19 17:22:19 UTC
A small update: as hinted at by Pavel's results, it seems that switching to JDK 1.8 (and/or possibly also updating to a 64-bit version of the JDK) might help with this problem.

Here are a couple additional reports from the forums indicating that using JDK 1.8 was successful as a workaround:

- http://forums.xamarin.com/discussion/comment/98084/#Comment_98084
(64-bit version was used)

- http://forums.xamarin.com/discussion/comment/97265/#Comment_97265
(Does not indicate whether 32-bit or 64-bit version was used)
Comment 13 Jérémie Laval 2015-01-20 16:01:30 UTC
64 bits JVM usually behaves better with memory. You can force the designer to use it by setting directly the path to the 64bits java binary in XS or VS preferences (SDK locations)

The next release of Xamarin Studio and Visual Studio will allow those Java memory options to be configured in case like this.

I also lowered the default memory used for the PermGen (not to what it was before though), that should help somewhat.
Comment 14 PJ 2015-01-29 16:11:39 UTC
> The next release of Xamarin Studio and Visual Studio will allow those Java memory options to be configured in case like this.

Jeremie, where are those options? Did these get implemented in master already?
Comment 15 PJ 2015-02-23 13:27:41 UTC
This should be fixed in SR2, as Jeremie described above:

> The next release of Xamarin Studio and Visual Studio will allow those Java memory options to be configured in case like this.

> I also lowered the default memory used for the PermGen (not to what it was before though), that should help somewhat.
Comment 16 Mohit Kheterpal 2015-02-25 06:03:58 UTC
I have tried to verify this issue.

As per comment 5, this issue is duplicate of bug 26047. So I have used phoneword sample to verify it. 

When I open phoneword sample in XS then it gives following error in IDE Log :

https://gist.github.com/Mohit-Kheterpal/f2644c715a92db30ad34

i.e. the same error as mentioned in description of bug 26047.

However, I am able to open designer i.e. Main.axml file without any error.

As per my understanding it should not give error in the IDE Logs as mentioned in bug 26047.

As of now, I am reopening this issue. Please let me know if I have to check something else to verify this issue.
Comment 17 Ram Chandra 2015-02-25 06:33:02 UTC
Please ignore comment 16.

We are unable to reproduce this issue. 

As mentioned in comment 13, now we are able to force the designer to set memory for android layout by setting Solution.userprefs ( for XS ) and Project.csproj.user (for VS). I have checked this behavior and it is working fine. We are able to forcefully set following memory settings:

> JavaRendererMinMemory: maps to the -Xms Java flag
> JavaRendererMaxMemory: maps to the -Xmx Java flag
> JavaRendererPermSize: maps to the -XX:MaxPermSize Java flag

For now I am closing this issue. If anyone will face this issue after forcefully override memory settings. Please feel free to reopen it.

Environment Info:

=== Xamarin Studio ===

Version 5.7.2 (build 7)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Runtime:
	Mono 3.12.0 ((detached/b8f5055)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000077

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.iOS ===

Version: 8.6.2.22 (Business Edition)
Hash: 862702c
Branch: 
Build date: 2015-02-18 15:19:23-0500

=== Xamarin.Android ===

Version: 4.20.0.28 (Trial Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		1.6    (API level 4)
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.Mac ===

Version: 1.12.0.4 (Business Edition)

=== Build Information ===

Release ID: 507020007
Git revision: dcf3f486177d3e625349b51a8f3be807e3fa7712
Build date: 2015-02-24 09:14:27-05
Xamarin addins: ea7c65bb7876e4a876ab365208e94acdf8f330ef

=== Operating System ===

Mac OS X 10.10.0
Darwin Jatin66s-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 19 Jérémie Laval 2015-03-10 17:55:12 UTC
*** Bug 26534 has been marked as a duplicate of this bug. ***