展会信息港展会大全

android开发中Eclipse无法启动问题总结
来源:互联网   发布日期:2016-01-14 13:15:38   浏览:2881次  

导读:问题一错误日志!STACK 1java lang IllegalStateException: Unable to acquire application service Ensure that the org eclipse core runtime bundle is resolved and started (see config i ...

问题一

错误日志

!STACK 1

java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)

at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

通过网络搜索,可能是不同系统造成的。我的eclipse软件使用了云盘同步,公司的电脑是Window7 64位系统,而家里的电脑是Window XP 32位系统。

网上有人给出解决办法,说是删除eclipse安装目录的下configuration文件夹下的所有文件,并重新创建config.ini文件,在 config.ini文件中写入如下内容:

osgi.splashPath = platform:/base/plugins/org.eclipse.platform

osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start

eclipse.product=org.eclipse.sdk.ide

osgi.instance.area.default=@user.home/workspace

eof=eof

博主受此启发,根据日志提示,应该是 org.eclipse.core.runtime bundle is not neither resolved nor started 所以,本博主的解决办法是:

在configuration目录下找到config.ini文件,在其中找到 osgi.bundles=... 这行;

在本行最后,添加 ,org.eclipse.core.runtime@start (注意前面的英文逗号)

重新启动Eclipse,问题解决

赞助本站

人工智能实验室

相关热词: Eclipse 无法启动 android

相关内容
AiLab云推荐
推荐内容
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港