简体   繁体   English

无法在Eclipse中安装Android ADT

[英]Can't install Android ADT in Eclipse

Help! 救命! With Windows 7, Galileo, Eclipse 3.5.2: every time I click Finish when installing ADT I get the error 'Install has encountered a problem - an error occurred while uninstalling'. 使用Windows 7,Galileo,Eclipse 3.5.2:每次在安装ADT时单击“完成”时,都会出现错误“安装遇到问题-卸载时发生错误”。 Details: 细节:

String index out of range:0 
eclipse.buildId=unknown
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
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

Error 错误

Sat Aug 21 15:40:46 BST 2010
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Uninstall, operand=[R]org.apache.commons.lang 2.3.0.v200803061910 --> [R]org.apache.commons.lang 2.3.0.v201005080501, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).

Are you sure you're installing it an not uninstall it or something? 您确定要安装它而不卸载它吗? I would try downloading a fresh copy of eclipse and try installing it onto that 我会尝试下载新的eclipse副本,然后尝试将其安装到该版本上

It's happened to me as well, though I'm on Linux, not Windows (but it was also Eclipse 3.5.2). 尽管我使用的是Linux,而不是Windows(但它也是Eclipse 3.5.2),但它也发生在我身上。 I uninstalled Eclipse then reinstalled it and the first thing I then installed was Android SDK. 我先卸载了Eclipse,然后重新安装了它,然后我首先安装的是Android SDK。 It now works well. 现在运行良好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM