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 の Eclipse に ADT プラグインをインストールすることは可能ですか? システムに 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 ダウンロード ページにリストされているパッケージではなく、Eclipse SDK でのみ使用できます。Eclipse の最新リリース ( 3.7.2 /Indigo) のリンクは次のとおりです。

ここで説明されているように、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 プラグイン r18 をインストールしようとすると、org.eclipse.wst.sse.core が見つからないというエラーが発生して継続的に失敗しました。これは 64 ビットの mint/eclipse などでは発生しなかったことに注意してください。Windowsでは決して。

Stack でさまざまなパターンを試し、仮想ボックスでスナップを使用して実験し、適切なレシピを見つけた後、次のようにしました。

  1. 上記のように、新しいEclipseクラシックインディゴインストール3.7.0(sudo apt-get eclipse)
  2. コマンドからEclipseを起動します(sudo eclipse)
  3. リポジトリhttp://download.eclipse.org/releases/indigoを Help/Install New Software セクションに追加します
  4. ステップ 3 のオプションのリストから Linux ツールをインストールします。
  5. 再起動後、 http://dl-ssl.google.com/android/eclipse/リポジトリから Android ツールを再度インストールしてみてください(成功!!!)
  6. CLOSE Eclipseを再起動した後(SDKなどをインストールさせないでください)
  7. Eclipse を通常どおり起動し、ツールに SDK をインストールさせるか、再起動時にすぐにインストールされない場合は [ウィンドウ] メニューをクリックして、ベース SDK パッケージをインストールします。
  8. ウィンドウ メニューの下にある Android SDK マネージャーに移動し、必要な他の API などをダウンロードします。

これは私にとってはうまくいきましたが、多くの同様のことはうまくいきませんでした。どこに違いがあるのか​​ わかりません.また、64ビットミントを使用してゼロの問題があったことにも注意してください(ADBが64ビットで抱えている問題を考えると、これは少し直感的ではありません)。

答えではありませんが、確かに私と同じ問題を抱えている人への答えです(うまくいけば)

于 2012-04-20T04:06:39.600 に答える