Eclipse的崩溃,当我调用Android的布局编辑器 [英] Eclipse crashes when I invoke Android Layout Editor

查看:116
本文介绍了Eclipse的崩溃,当我调用Android的布局编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Andr​​oid和放大器;蚀。我已经下载Eclipse和Android的 ADT 并创建了一个超简单的的Hello World 应用程序(已产生自动只的.java 的.xml 文件)。

I'm new to Android & Eclipse. I've downloaded Eclipse and the Android ADT and created an ultra-simple Hello World app (has only auto-generated .java and .xml files).

Eclipse中的崩溃的(一个非常短暂的停顿后关闭),当我做到以下几点:

Eclipse CRASHES (closes after a very brief pause) when I do the following:


  1. 在Package Explorer中,选择 AppName的/ RES /布局/ main.xml中

  2. preSS,或双击,或者打开方式,然后Android的布局编辑器

(该应用程序运行在Android模拟器OK)

(The app runs OK in the Android emulator)

我的配置是:

Android开发工具0.9.5.v200911191123-20404 com.android.ide.eclipse.adt.feature.group
  Eclipse IDE的Java开发人员1.2.2.20100216-1730 epp.package.java

Android Development Tools 0.9.5.v200911191123-20404 com.android.ide.eclipse.adt.feature.group Eclipse IDE for Java Developers 1.2.2.20100216-1730 epp.package.java

Windows XP中

Windows XP

谁能告诉我,我做错了,或有什么错我的配置是什么?
什么任何建议检查?对于任何不平凡的应用开发,我需要
能够使用布局编辑器。

Can someone tell me what I'm doing wrong or what's wrong with my configuration? Any suggestions on what to check? For any non-trivial app development I need to be able to use the Layout Editor.

更多...我可以选择的main.xml 键,右键单击并打开方式任:XML编辑器,
XML架构编辑器,文本编辑器 - 没有问题。该问题仅限于Android的布局编辑器。

More ... I can select main.xml and Right-Click and 'Open With' any of: XML Editor, XML Schema Editor, Text Editor -- with no problem. The problem is limited to Android Layout Editor.

谢谢!

推荐答案

我发现这个问题。

我发现.log文件(\\ Android的SDK \\ Eclipse的Java的伽利略... \\月食下)
这些文件由Eclipse的时一个致命的异常发生明显创建。经检查最新的文件,我看到

I discovered the .log files (under \Android SDK\eclipse-java-galileo ...\eclipse ) These files are apparently created by Eclipse when a fatal exception occurs. Upon examining the latest file I saw

# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d2521e1, pid=9156, tid=13952
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09 mixed mode)
# Problematic frame:
# C  [fontmanager.dll+0x121e1]

当我看着进一步,发现那里fontmanager.dll所在的文件夹。

and when I looked further, found the folder where fontmanager.dll resides.

推断出fontmanager.dll是Java运行时的一部分,我看到了,我一直在使用jre1.5.0_02,并在检查现场孙,发现这是一个过时的文件。所以,我下载了(来自Sun的网站),并安装了最新版本的Java运行时。

Deducing that 'fontmanager.dll' was part of the Java runtime, I saw that I'd been using jre1.5.0_02, and, upon checking the Sun site, discovered that it's an outdated file. So I downloaded (from Sun site) and installed the latest version of the Java runtime.

这是固定的吧! Android的布局编辑器运行没有问题。

That fixed it! The Android Layout Editor runs without problems.

感谢弥敦道为他的努力。事实证明,他的建议没有解决这个特定的问题,但他提供的信息无疑将是有益的。

THANKS to Nathan for his efforts. As it turned out, his suggestion didn't solve this particular problem, but the info he provided will no doubt be useful.

这篇关于Eclipse的崩溃,当我调用Android的布局编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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