【问题标题】:ADT plug-in fails to install on Eclipse, PowerPC, UbuntuADT 插件无法在 Eclipse、PowerPC、Ubuntu 上安装
【发布时间】:2012-04-26 03:33:26
【问题描述】:

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

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 安装过程相同。来自错误Log:

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。

【问题讨论】:

    标签: eclipse ubuntu installation adt powerpc


    【解决方案1】:

    首先,切勿从 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 以使用它,如 here 所述。大多数 Linux 发行版在系统路径上都有 gcj,它与 Eclipse 不兼容。

    从那里您应该可以根据instructions 安装 ADT。

    【讨论】:

    • 谢谢,我能够安装Eclipse SDK 3.6.2(因为 3.7.2 仅适用于 PPC x64)和 ADT 18 插件(在将 Eclipse 指向使用 IBM JDK 6 之后)。不幸的是,Android 模拟器不起作用,这是我的目标。从 Eclipse AVD Manager 启动它时,我在通过终端 cannot execute binary file 启动时得到 emulator: 1: Syntax error: "(" unexpected。
    【解决方案2】:

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

    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 插件 r18 不断失败,出现 org.eclipse.wst.sse.core 缺失错误,这似乎是常见且随机的。请注意,使用 64 位 mint/eclipse 等不会发生这种情况。请看图。并且从不在窗户上。

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

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

    这对我有用,许多类似的事情都没有,不知道有什么区别等等。还请注意,我使用 64 位 mint 时遇到了零问题(考虑到 ADB 使用 64 位的问题,这有点反直觉)

    不是答案,但对于有同样问题的人来说肯定是答案(希望如此)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-04-03
      • 2011-09-22
      • 1970-01-01
      • 2015-07-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多