工具:eclipse3.7.2
升级ADT:从ADT-22.3.0到ADT-23.0.2
错误信息:
Java代码
- Cannot complete the install because of a conflicting dependency.
- Software being installed: Android Development Tools 23.0.2.1259578 (com.android.ide.eclipse.adt.feature.feature.group
- 23.0.2.1259578)
- Software currently installed: Android Development Tools 22.3.0.v201310242005-887826
- (com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826)
- Only one of the following can be installed at once:
- ADT XML Overlay 23.0.2.1259578 (overlay.com.android.ide.eclipse.adt.overlay 23.0.2.1259578)
- ADT XML Overlay 22.3.0.v201310242005-887826 (overlay.com.android.ide.eclipse.adt.overlay 22.3.0.v201310242005-
- 887826)
- Cannot satisfy dependency:
- From: Android Development Tools 23.0.2.1259578 (com.android.ide.eclipse.adt.feature.feature.group 23.0.2.1259578)
- To: overlay.com.android.ide.eclipse.adt.overlay [23.0.2.1259578]
- Cannot satisfy dependency:
- From: Android Development Tools 22.3.0.v201310242005-887826 (com.android.ide.eclipse.adt.feature.group
- 22.3.0.v201310242005-887826)
- To: overlay.com.android.ide.eclipse.adt.overlay [22.3.0.v201310242005-887826]
第一步:卸载旧的ADT插件
Eclipse——Help——About Eclipse——Installation Details——Installed Software
选中旧的ADT插件——Uninstall
[注:上图为已更新成功后的版本,升级前为22.3.0.v201310242005-887826]
第二步:安装新的ADT插件
Eclipse——Help——Install New Software——Add
Name:ADT-23.0.2
Location:点击Archive选中已下载的ADT zip包【jar:file:/D:/Android-Develop/ADT-23.0.2.zip!/】
或者从http://dl-ssl.google.com/android/eclipse更新
更新完成后Restart Eclipse即可!
ADT插件下载:http://dl.google.com/android/ADT-23.0.2.zip
http://developer.android.com/sdk/installing/installing-adt.html
时间: 2024-10-14 22:34:05