在意外关闭 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 经常自动关闭。请帮助解决问题。
(
我还没有足够的声誉来发表评论,所以我会在这里回答。
很难说,但我的猜测是,很可能你遇到了内存不足错误或类似的错误/异常,这首先使你的日食崩溃。定位问题的几个问题:
- 您使用的是哪个版本的 Eclipse 和 Android SDK?
- 你们的平台是什么?
- 您有多少物理内存?
- 您是否尝试过在运行 Eclipse 时监控您的系统(例如,在 Linux 中使用"top"),以查看内存或任何其他资源是否不足?
- 您是否安装了任何非标准/非常规插件?如果是这样,您是否尝试过删除它们?
- 您的工作区中是否有大量项目/文件?
- 您显示的错误都与安卓有关。您是否尝试过运行相同日食的副本但没有 android 插件?您是否尝试过切换工作区?
- 您是否正在使用任何特殊的 vmarg 运行日食?(另请参阅Eclipse Wiki关于内存参数的文章)
- Android方面,在对模拟器或物理手机做一些事情时会发生这种情况吗?
如果您可以编辑您的问题以包含此信息,那就太好了。