0

Android SDK プラグインを最新バージョン 22 に更新したところ、Eclipse Juno も同じバージョンに更新されました。Eclipse が自動再起動を試みた後、次のエラー メッセージが表示されて、Android 開発環境を開くことができなくなりました。「エラーが発生しました。ログ ファイルを参照してください: C:\eclipse\configuration\xxxxx.log

以下は、そのログの上部セクションです。再び機能させるために何をする必要があるかを提案してください。

    !SESSION 2013-08-25 23:32:29.187 -----------------------------------------------
eclipse.buildId=M20130204-1200
java.version=1.7.0_07
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_NZ
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE Bundle reference:file:plugins/org.eclipse.wb.core_1.5.2.r42x201302111859.jar was not resolved.
!SUBENTRY 2 org.eclipse.wb.core 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 2 org.eclipse.wb.core 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE Bundle reference:file:plugins/org.eclipse.wb.swing.java6_1.5.2.r42x201302112024.jar was not resolved.
!SUBENTRY 2 org.eclipse.wb.swing.java6 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.jface_0.0.0.
!SUBENTRY 2 org.eclipse.wb.swing.java6 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.wb.swing_0.0.0.
!SUBENTRY 2 org.eclipse.wb.swing.java6 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.ui.workbench_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.debug.ui_3.6.100.v20120530-1425.jar was not resolved.
!SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.ui_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE Bundle reference:file:plugins/org.eclipse.e4.ui.workbench.swt_0.10.3.v20130124-133900.jar was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.jface_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE Bundle reference:file:plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_1.1.0.v20110815-1744.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing imported package org.eclipse.equinox.internal.p2.ui.query_0.0.0.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.equinox.p2.ui_0.0.0.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing imported package org.eclipse.equinox.p2.ui_[2.0.0,3.0.0).
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.ui_0.0.0.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))".
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing imported package org.eclipse.equinox.internal.p2.ui.actions_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE Bundle reference:file:plugins/org.eclipse.wb.discovery.ui_1.5.2.r42x201302111927.jar was not resolved.
!SUBENTRY 2 org.eclipse.wb.discovery.ui 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.ui_0.0.0.
!SUBENTRY 2 org.eclipse.wb.discovery.ui 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.equinox.p2.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE Bundle reference:file:plugins/org.eclipse.jface.databinding_1.6.0.v20120912-132807.jar was not resolved.
!SUBENTRY 2 org.eclipse.jface.databinding 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 2 org.eclipse.jface.databinding 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.jface_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-08-25 23:32:30.562
!MESSAGE Bundle reference:file:plugins/org.eclipse.m2e.refactoring_1.3.0.20130129-0926.jar was not resolved.
!SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.compare_0.0.0.
!SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2013-08-25 23:32:30.562
!MESSAGE Missing required bundle org.eclipse.ui.workbench_0.0.0.
4

4 に答える 4

2

これが一種の「技術サポート ソリューション」であることは承知していますが、Eclipse の新しいコピーをダウンロードし、ADT プラグインをセットアップして、新しい Eclipse でワークスペースを開いてみませんか? そもそもインストールされていないので、アンインストールする必要はありません。

最悪の場合、機能しませんが、何も変わりません。

于 2013-08-25T13:58:30.757 に答える
0

少し前にEclipseで同じ問題が発生しました。既存のEclipseを削除し(大きな間違い)、新しいバージョンをインストールしてから、ADTプラグインリンクからADTプラグインをダウンロードしました。その後、ヘルプに移動します->新しいソフトウェアのインストール->追加 -> アーカイブ -> ダウンロードした ADT プラグイン zip へのパス。Android 4.3 ( API 18 ) をインストールしないでください。日食を再起動すると、作業する必要があります。少なくとも私にとってはうまくいきました。

于 2013-08-25T14:05:31.240 に答える
0

このユーザーからのアドバイスに従って、初期の問題を解決しました

Eclipse インストール フォルダーの上に Eclipse のバックアップ コピーを復元します。これにより、Eclipse を再起動し、Android SDK Manager を使用して最新バージョンの Android 4.3 と SDK 22.0.5 ツール (以前はダウンロードできませんでした) をダウンロードすることができました。長い更新プロセスの後、Eclipse を開いたときに別のエラー メッセージが表示されるようになりました。

「この Android SDK には、Android Developer Toolkit バージョン 22.0.0 以降が必要です。現在のバージョンは 21.1.0.v201 です... ADT を更新してください。」

利用可能な更新を確認しようとすると ([ヘルプ] > [更新の確認...] を使用)、「JDT/Core バージョン 2.1.1.201 のオブジェクト チーム パッチが適用されないため、操作を完了できません」というメッセージが表示されます。現在の構成であり、インストールされません。」

ADT プラグインを ([ヘルプ] > [新しいソフトウェアのインストール...] から) 更新しようとすると、「すべての項目 (開発者ツールと NDK プラグイン) が既にインストールされています」というメッセージが表示されます。

この「Object Teams Patch」エラー メッセージを取り除くにはどうすればよいですか? また、ADT プラグインが最新ではないという Eclipse からの紛らわしいメッセージが表示されるのはなぜですか?

この苛立たしい問題を Eclipse で解決するにはどうすればよいでしょうか?

于 2013-08-25T14:57:00.693 に答える