Building Workspace遇到了问题

时间:2015-01-06 21:12:30

标签: android eclipse ide application-error

Eclipse IDE意外关闭后,重新启动时出现以下错误日志:

 Errors occurred during the build.
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Error instantiating builder 'com.android.ide.eclipse.adt.PreCompilerBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.
An error occurred while automatically activating bundle com.android.ide.eclipse.adt (2).

Eclipse经常自动关闭。请帮助解决问题。

1 个答案:

答案 0 :(得分:2)

(我还没有声名鹊起,所以我会在这里回答。)

这很难说,但我的猜测是,你很可能会得到一个OutOfMemory错误或类似的错误/异常,这会让你的eclipse崩溃。解决问题的几个问题:

  • 您使用的是哪个版本的eclipse和android SDK?
  • 你的平台是什么?
  • 你有多少物理记忆?
  • 您是否尝试在运行eclipse时监控系统(例如,使用" top"在linux中),以查看您的内存或其他任何资源是否耗尽?
  • 您是否安装了任何非标准/非常规插件?如果是这样,你试过删除它们吗?
  • 您的工作区中是否有大量的项目/文件?
  • 您显示的错误都与Android有关。您是否尝试过运行同一个eclipse的副本但没有安装android插件?您是否尝试过切换工作区?
  • 你是否正在使用任何特殊的vmargs运行eclipse? (另见this article from eclipse wiki on memory arguments
  • Android智能,特别是在使用模拟器或物理手机做某事时会发生这种情况吗?

如果您可以编辑您的问题以包含此信息,那就太棒了。