与布局渲染器的连接失败.这可能是由于 Java 的错误配置造成的 [英] Connection to the layout renderer failed. This may be caused by misconfiguration of Java

查看:35
本文介绍了与布局渲染器的连接失败.这可能是由于 Java 的错误配置造成的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与布局渲染器的连接失败.这可能是由于Java配置错误造成的

Connection to the layout rendere failed. This may be caused by misconfiguration of Java

当我尝试运行 Xamarin 并开始开发应用程序时,打开布局文件会出现错误:

When i tried to run Xamarin and start developing app, opening layout files gives me the error:

Java 的 Xamarin 配置错误

推荐答案

浏览了几篇文章,我找到了一个解决方案,因为大多数用户都说它对他们有用.

Gone through a few articles and I found a solution as most users said that it worked for them.

无论如何,试试这个:

  1. 卸载 Java JDK 1.6Java JDK 1.7 使用程序和功能"控制面板.在 Windows 上,如果安装了 1.6 或 1.7 版,而不是 1.8 版,Xamarin 将自动选择这些旧版本.
  2. 安装Java JDK 1.8 (64 位)
  1. Uninstall Java JDK 1.6 and Java JDK 1.7 using the "Programs and Features" control panel. On Windows, Xamarin will automatically pick version 1.6 or 1.7 instead of version 1.8 if either of those older versions are installed.
  2. Install the Java JDK 1.8 (64-bit)

这篇关于与布局渲染器的连接失败.这可能是由于 Java 的错误配置造成的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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