卸载ADT版本21.0.1.201212060302时出错

时间:2014-12-23 07:04:36

标签: android eclipse eclipse-plugin adt

当我尝试卸载ADT 21版时,我收到以下错误,因为我需要将其更新到版本23(或者最新版本是什么)

ERROR:

An error occurred while uninstalling session context was: 
(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall,  
operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86 1.0.0.I20120608-1200 --> 
null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).

Backup of file E:\adt-bundle-windows-x86\adt-bundle-windows-x86\eclipse\eclipse.exe failed.
Can not remove : E:\adt-bundle-windows-x86\adt-bundle-windows-x86\eclipse\eclipse.exe

我也无法在偏好设置部分设置Android SDK,因为Android SDK需要Android Developer Toolkit 23.0.0或更高版本。当前版本是21.0.1.2012-12-6-2-58。 所以我需要更新ADT但是我得到错误,如图所示。 我尝试在卸载时以管理员身份运行,也尝试禁用防病毒软件,但它不起作用。

1 个答案:

答案 0 :(得分:0)

由于eclipse的.exe文件的名称而发生。

备份eclipse.exe文件并重命名现有的eclipse.exe,然后将备份文件再次复制到eclipse的同一文件夹中,打开未重命名的旧eclipse

之后, 按照相同的步骤安装ADT

手动退出窗口并再次启动它

相关问题