ADT升级到23出错,卸载旧版本ADT时出错Cannot complete the install because of a conflicting dependency.

今天尝试升级ADT到23版本时出错,网上给出的方法尝试过,最终整理出如下解决方案。


An error occurred while uninstalling
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.platform.ide.executable.win32.win32.x86_64 4.3.1.M20130911-1000 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.).
Backup of file F:\迅雷下载\adt-bundle-windows-x86_64-20140321\eclipse\eclipse.exe failed.
Can not remove : F:\迅雷下载\adt-bundle-windows-x86_64-20140321\eclipse\eclipse.exe

大致意思是不能删除eclipse.exe,

解决方案:

首先我们需要备份好这几个文件复制到桌面 eclipsec.exe(注意是eclipsec.exe 不是eclipse.exe)  eclipse.ini   .eclipseproduct 和 configuration文件夹下的config.ini              然后将eclipse.exe 重命名为 eclipse.exe.bak ,然后Help->About ADT->Installation Details 开始卸载,弹出这个框,注意不要点yes,我们选择no

然后安装新版本adt,我事先下载好ADT-23.0.0.zip,   Help->install new software->add->archive选择ADT-23.0.0.zip

确定,developer  tools打上勾,注意此时去掉contact all update sites during install to find required software的勾, 并且断网,不然会很慢,然后next->next->I accept the terms... ->finish

安装完成,选yes,并没有重启,因为重名了eclipse.exe ,将eclipse.exe.bak 改回来,并且将事先备份的文件放回原来的位置eclipsec.exe  eclipse.ini .eclipseproduct 在eclipse根目录,config.ini  在configuration文件夹下。

双击eclipse.exe打开,Help->about adt  点击机器人头像 查看              更新成功



  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值