【发布时间】:2013-10-20 22:13:30
【问题描述】:
更新到 4.0.13 后,我收到错误“连接到布局渲染器失败。这可能是由于 Java 配置错误。请关闭并重新打开文件”。这是错误日志:
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。
【问题讨论】:
-
解决方案是重新安装位于 C:\Users[Your User name]\AppData\Local\XamarinStudio-4.0\Cache\TempDownload 的 4.0.12 更新包。
-
我遇到了同样的问题,但没有旧的更新包...那我现在该怎么办?
-
如果您在 2015 年初遇到此问题,解决方案似乎是卸载 1.8 之前的 JDK 并安装 JDK 1.8 64 位。 forums.xamarin.com/discussion/30818/…stackoverflow.com/questions/19426993/…
标签: xamarin.android xamarin-studio