0

我正在尝试在从 PowerPC Ubuntu 存储库获得的 Eclipse 3.5.2 中安装 ADT 插件。ADT 16.0.0 或更高版本需要 Eclipse 3.6 或更高版本,所以我尝试了 15.0.1 和 9.0.0。
ADT 15.0.1 安装完成 100%,我单击“立即应用”并收到一堆错误。从错误日志

Invalid preference page path: com.android.ide.eclipse.preferences.main
Problems occurred when invoking code from plug-in: "org.eclipse.ui.intro".
Undefined context while filtering dialog/window contexts
Unable to access file "plugins/org.eclipse.emf.ecore_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.environment_1.0.301.v200908101600.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.xml.ui_1.1.2.v201001222130.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.ecore.edit_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.equinox.concurrent_1.0.1.R35x_v20100209.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.project.facet.core_1.4.1.v200911141735.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.apache.xml.resolver_1.2.0.v200902170519.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.jem.util_2.0.201.v201001252130.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.common_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.sse.ui_1.1.102.v200910200227.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.uriresolver_1.1.301.v200805140415.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.edit_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.emfworkbench.integration_1.1.301.v200908101600.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.apache.xerces_2.9.0.v200909240008.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.emf_1.1.301.v200908181930.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/javax.xml_1.3.4.v200902170245.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.ecore.change_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.xml.core_1.1.402.v201001222130.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.frameworks_1.1.300.v200904160730.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.ecore.xmi_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.apache.xml.serializer_2.7.1.v200902170519.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.ui_1.1.402.v200901262305.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.validation_1.2.104.v200911120201.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.sse.core_1.1.402.v201001251516.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.core_1.1.201.v200806010600.jar!META-INF/MANIFEST.MF".
Invalid preference page path: DDMS
Invalid preference page path: LogCat

ADT 9.0.0 安装过程相同。从错误日志

Invalid preference page path: com.android.ide.eclipse.preferences.main
Undefined context while filtering dialog/window contexts
Unable to access file "plugins/org.eclipse.emf.ecore_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.environment_1.0.301.v200908101600.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.xml.ui_1.1.2.v201001222130.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.ecore.edit_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.equinox.concurrent_1.0.1.R35x_v20100209.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.project.facet.core_1.4.1.v200911141735.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.apache.xml.resolver_1.2.0.v200902170519.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.jem.util_2.0.201.v201001252130.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.common_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.sse.ui_1.1.102.v200910200227.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.uriresolver_1.1.301.v200805140415.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.edit_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.emfworkbench.integration_1.1.301.v200908101600.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.apache.xerces_2.9.0.v200909240008.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.emf_1.1.301.v200908181930.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/javax.xml_1.3.4.v200902170245.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.ecore.change_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.gef_3.5.1.v20090910-2020.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.xml.core_1.1.402.v201001222130.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.frameworks_1.1.300.v200904160730.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.emf.ecore.xmi_2.5.0.v200906151043.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.apache.xml.serializer_2.7.1.v200902170519.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.ui_1.1.402.v200901262305.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.validation_1.2.104.v200911120201.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.sse.core_1.1.402.v201001251516.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.wst.common.core_1.1.201.v200806010600.jar!META-INF/MANIFEST.MF".
Unable to access file "plugins/org.eclipse.draw2d_3.5.2.v20091126-1908.jar!META-INF/MANIFEST.MF".
Invalid preference page path: DDMS
Invalid preference page path: LogCat

Android 选项卡未出现在“窗口”>“首选项”中。
此外,两次安装都需要 2 个小时。
那么,是否可以在 PowerPC Ubuntu 上安装 ADT 插件到 Eclipse 上?有什么方法可以在我的系统上安装 Eclipse 3.6 或 3.7?我的电脑是 PowerPC G4、Emac (ATI Graphics)、Ubuntu 10.04。

4

2 回答 2

0

首先,永远不要从 Linux 包管理器或存储库安装 Eclipse;总是从 www.eclipse.org 下载

PowerPC linux 版本仅适用于 Eclipse SDK,不适用于 Eclipse 下载主页面上列出的软件包。这是最新版本 Eclipse (3.7.2/Indigo) 的链接:http: //download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/index.php

要确保的另一件事是您拥有 Oracle JDK 并已配置 Eclipse 以使用它,如此所述。大多数 Linux 发行版在系统路径上都有 gcj,它不能与 Eclipse 配合使用。

从那里您应该能够按照说明安装 ADT 。

于 2012-04-13T20:23:16.413 回答
0

我会在这里抛出以防有人遇到我的问题

Mint 32 位,已应用所有更新和升级

sudo apt-get 更新

sudo apt-get 升级)

Eclipsed Indigo Classic - sudo apt-get eclipse

java - sudo apt-get install sun-java6-jdk

尝试安装 Android Eclipse Plugin r18 不断失败,同时出现 org.eclipse.wst.sse.core 缺失错误,该错误似乎很常见而且是随机的。请注意,使用 64 位 mint/eclipse 等不会发生这种情况。请看图。并且从不在窗户上。

这是我在尝试了在 Stack 上找到的许多不同模式并尝试在虚拟盒子上使用 snap 以找到适合我的配方后所做的事情。

  1. Fresh eclipse classic indigo install 3.7.0 (sudo apt-get eclipse) 如上所述
  2. 从命令启动 eclipse (sudo eclipse)
  3. 在 Help/Install New Software 部分添加存储库http://download.eclipse.org/releases/indigo
  4. 从步骤 3 的选项列表中安装 Linux 工具
  5. 重新启动后,尝试从http://dl-ssl.google.com/android/eclipse/存储库再次安装 android 工具(成功!!!)
  6. 重启后关闭 eclipse(不要让它安装 sdk 等)
  7. 正常启动 Eclipse 并让工具为您安装 SDK,或者如果在重启后没有立即执行此操作,请单击“窗口”菜单以安装基本 sdk 包
  8. 转到窗口菜单下的 Android SDK 管理器并下载您需要的任何其他 api 等

这对我有用,许多类似的事情没有,不知道在哪里有什么区别等等。还请注意我使用 64 位薄荷糖有零问题(考虑到亚行在 64 位上的问题,这有点反直觉)

不是答案,但肯定是我遇到相同问题的人的答案(希望如此)

于 2012-04-20T04:06:39.600 回答