Xamarin 4.0.13 Layout Renderer failed

2019-02-13 16:52发布

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条回答
走好不送
2楼-- · 2019-02-13 17:26

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

查看更多
登录 后发表回答