Xamarin 4.0.13 布局渲染器失败 [英] Xamarin 4.0.13 Layout Renderer failed

查看:35
本文介绍了Xamarin 4.0.13 布局渲染器失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在更新到 4.0.13 后收到错误连接到布局渲染器失败.这可能是由 Java 配置错误引起的.请关闭并再次打开文件".这是错误日志:

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 在发布更新包之前应该仔细测试.我希望我没有更新到 4.0.13.

Xamarin should test carefully before release update package. I wish I didn't update to 4.0.13.

推荐答案

我认为这已经解决了.对我来说,我一直随机收到此错误,但如果您遇到它,只需从 Visual Studio 打开 android sdk 管理器工具 > ANDROID > Android SDK 管理器

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

这篇关于Xamarin 4.0.13 布局渲染器失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆