有没有人获得了 Eclipse 4.4 的发布版本来使用 adt(Android 开发)和/或谷歌网络工具包(gwt)。
似乎 gwt/adt 插件不适用于 eclipse 4.4,所以有没有秘密的地方可以下载新版本或者我应该继续使用 4.3 -(
编辑:我认为 adt 不起作用的原因是文档(http://developer.android.com/sdk/installing/installing-adt.html)说该插件称为“ADT 插件”,但它不是。
有没有人获得了 Eclipse 4.4 的发布版本来使用 adt(Android 开发)和/或谷歌网络工具包(gwt)。
似乎 gwt/adt 插件不适用于 eclipse 4.4,所以有没有秘密的地方可以下载新版本或者我应该继续使用 4.3 -(
编辑:我认为 adt 不起作用的原因是文档(http://developer.android.com/sdk/installing/installing-adt.html)说该插件称为“ADT 插件”,但它不是。
Google 刚刚发布了 Eclipse Luna 的官方 SDK:https ://developers.google.com/eclipse/docs/getting_started
对于 adt ,
帮助 -> 安装新软件 -> https://dl-ssl.google.com/android/eclipse/ -> 不要选择所有内容
(对我来说就是这样)我选择了除本机开发工具之外的所有东西(我想如果你在 java 中开发,你就不需要它们)而且它对我来说效果很好。
好吧...... gwt 插件实际上不能与 luna 版本一起使用,因为它对 eclipse core.runtime [3.8.0,3.10.0) 具有捆绑依赖关系,这里,“)”表示它不包括在 luna 中使用的 3.10.0但是,可以通过修改 osgi 捆绑文件来摆脱它,然后它可以在 luna 上正常工作,至少现在对我来说是这样。
1 从 google eclipse 插件站点下载最后一个更新站点 zip 文件 2 解压它 3 然后你需要先修改 2 个文件
一个 osgi META INF/manifest 文件包含在一个名为 *gdt*e42 的 jar 中(对不起,忘记全名,你可以在尝试安装插件时找到它,luna 会抱怨缺少一些 dep 包)位于在插件目录中,只需将 core.runtime 版本从 3.10.0) 更改为 3.10.0]
另一个应该是contents.jar(可能是artifacts.jar),同上
如果你已经安装了 Eclipse RCP,现在你可以安装插件了
但是,安装将失败,因为 md5 散列已更改,
最后,从错误消息对话框中复制预期的 md5 以替换 artifacts.jar(可能是 contents.jar)中的旧 md5 值
现在重新安装插件,它现在应该可以工作了
更新:
也许您应该从 com.google.gdt.eclipse.platform.e42 jar 中的 MANIFEST.MF 中删除 bundle-version 并从 content.jar 中的 content.xml 将版本更改为“0.0.0”
If you are using the Help----->Install New Software
option, you might encounter this error message just like i did trying to install the Android plugin.
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
Error reading signed content.
error in opening zip file
My solution was to go through Help-->Eclipse Marketplace
and then search for "Android"
Select the plugin from the search result and install it from there.