问题
I get the error "Connection to the layout renderer failed. This may be caused by a misconfiguration of Java. Please close and open the file again" after update to 4.0.13. This is error log:
Error: Could not find or load main class Files\Android\android-sdk\tools\lib\ant-tasks.jar;C:\Program
ERROR [2013-10-13 10:47:56Z]: Connection failed
System.Exception: Java process failed to start
at Xamarin.AndroidDesigner.JavaProcessConnection.DoConnect()
ERROR [2013-10-13 10:47:58Z]: Could not update jumplists
System.InvalidOperationException: The file type is not registered with this application.
at Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()
at Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()
at MonoDevelop.Platform.JumpList.UpdateJumpList()
at MonoDevelop.Platform.JumpList.OnUpdateTimerEllapsed(Object sender, EventArgs args)
Xamarin should test carefully before release update package. I wish I didn't update to 4.0.13.
回答1:
I think this was resolved. for me I kept getting this error randomly but if you face it just open android sdk manager from visual studio TOOLS > ANDROID > Android SDK Manager
来源:https://stackoverflow.com/questions/19341726/xamarin-4-0-13-layout-renderer-failed