java - XML 错误和 Java(TM) Platform SE 二进制崩溃

标签 java android xml eclipse user-interface

所以昨晚我正在创建一个 Android XML 文件来显示编辑文本和切换按钮。 然后今天当我启动 Eclipse 并打开我的项目时,XML 图形布局显示:

The rendering target (Android 4.2) is still loading.
The layout will refresh automatically once the process is finished.

当我收到错误消息时,我什至还没有输入任何单词

Java(TM) Platform SE Binary has crashed

Eclipse 返回了一个错误对话框

Java was started but returned exit code=255
C:\Windows\system32\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.equinox.launch
er_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.platform_4.2.1.v
201209141800\splash.bmp
-launcher C:\Users\<name>\Desktop\Android\eclipse\eclipse.exe
-name Eclipse
-launcher.library
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.equinox.launch
er.win32.win32.x86_64_1.1.200.v20120522-1813\eclipse_1503.dll
-startup
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.equinox.launch
er_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata b24_5c
-product org.eclipse.epp.package.mobile.product
-vm C:\Windows\system32\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar
C:\Users\<name>\Desktop\Android\eclipse\\plugins/org.eclipse.equinox.launch
er_1.3.0.v20120522-1813.jar

嗯,我不明白它说什么,现在我无法启动 Eclipse。 谢谢。

最佳答案

将鼠标悬停在 java 对象上时出现类似的 java 退出代码和错误。不确定您是否有同样的问题,但由于错误非常相似,我的解决方案可能适合您。我将“-Dorg.eclipse.swt.browser.DefaultType=mozilla”添加到我的 eclipse.ini

关于java - XML 错误和 Java(TM) Platform SE 二进制崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14651254/

相关文章:

java - 如何从 java 重新启动我的 tp-link 路由器

c# - 我如何获得 IXmlNamespaceResolver

java - getInstance() 是否表示根据单例模式的单例?

java - obj/调试/android/bin/类 : file not found

android - 如何在动态 View 中只选择一个复选框

java - 在多个布局中使用 ViewBinding

android - 我如何在提供者中使用 guice 获取上下文?

xml - 查找单个标签内n个相同的内部标签内容

java - 将现有 SAML 断言添加到 WS 安全 header

java - 如何在Java中创建类似于 "dynamic enumerations"的常量分组?