我已经用 Eclipse Indigo 开发了半年的 Android 应用程序,没有任何问题。但是,自从我两天前更新到最新版本的 Android SDK 后,事情就开始出错了。我不得不不断地手动进行 Project->Clean 以避免不公平的语法错误,而且一直没有理由。更糟糕的是,我开始在使用导出向导签署最终 APK 时遇到很多麻烦。
所以我决定完全删除 eclipse 并重新安装最新版本 Juno 以及 Android SDK 和 Android ADT 插件。我的问题是,现在我全新的 Eclipse 安装在安装 Android ADT 插件后没有显示任何 Android 选项。
每当我启动 Eclipse 时,都会出现以下错误日志,但我不知道它是否相关:
!ENTRY org.eclipse.ui 2 2 2012-07-15 18:14:31.879
!MESSAGE Invalid property category path: ValidationPropertiesPage (bundle: org.eclipse.wst.xml.ui, propertyPage: org.eclipse.wst.xml.ui.propertyPage.project.validation)
!SESSION 2012-07-15 18:14:49.877 -----------------------------------------------
eclipse.buildId=I20120608-1400
java.version=1.5.0_30
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=es_ES
Framework arguments: -keyring /Users/XXX/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/XXX/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-07-15 18:14:53.885
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
我的系统:
MacBookPro MacOS 10.5.8、Eclipse Classic Juno(最新版本)、Android SDK(最新版本)、Eclipse ADT 插件(从 eclipse 本身安装但没有结果)
编辑
如果我检查 Eclipse->About->Installation Details->Plug-ins 或 Eclipse->About->Installation Details->Features,则没有 Android 插件应用程序,它应该。但是,它出现在 Eclipse->About->Installation Details-Installed Software 和 Eclipse->About->Installation Details->Installation History 中。另外,如果我去帮助->安装新软件->ADT插件->开发者工具,我得到以下输出:
Cannot complete the request. See the error log for details.
"Tracer for OpenGL ES" will be ignored because it is already installed.
"Android Traceview" will be ignored because it is already installed.
"Android Hierarchy Viewer" will be ignored because it is already installed.
"Android Development Tools" will be ignored because it is already installed.
"Android DDMS" will be ignored because it is already installed.
如果我不能在Eclipse中删除一个插件,我怎么知道安装插件有什么问题???