安卓:麻烦更新到Android SDK工具,修订7 [英] Android: trouble updating to Android SDK Tools, revision 7
问题描述
目前我的Android SDK 2.1(+工具版本4)。我想升级至Android SDK 2.2。当我尝试这样做,我告诉我需要到Android SDK工具先升级到版本7。所以我同意,这个过程开始,然后我得到一个错误:
Currently I have Android SDK 2.1 (+ tools revision 4). I'd like to upgrade to Android SDK 2.2. When I try to do it I'm informed I need to upgrade Android SDK Tools to revision 7 first. So I agree, the process starts and then I get an error:
- =警告! = - 文件夹无法重命名或移动。在Windows上 通常意味着一个程序 使用该文件夹(例如视窗 资源管理器或您的防病毒软件。) 请暂时停用您 防病毒软件。也请关闭 所有正在运行的程序,可能会 访问目录 D:\安装\程序\ Android的SDK-工作-DIR \ Android的sdk_r04-WINDOWS \ Android的SDK-WINDOWS \过S'。 准备就绪后,preSS是重试。
-= warning! =- A folder failed to be renamed or moved. On Windows this typically means that a program Is using that Folder (for example Windows Explorer or your anti-virus software.) Please momentarily deactivate your anti-virus software. Please also close any running programs that may be accessing the directory 'D:\Install\Programming\android-sdk-working-dir\android-sdk_r04-windows\android-sdk-windows\too!s'. When ready, press YES to try again.
下载的Android SDK工具, 修订7安装的Android SDK 工具,修订7
Downloading Android SDK Tools, revision 7 Installing Android SDK Tools, revision 7
无法重命名 目录 D:\安装\程序\ Android的SDK-工作-DIR \ Android的sdk_r04-WINDOWS \ Android的SDK-WINDOWS \工具 D:\Install\Programming\android-sdk-working-dir\android-sdk_r04-windows\android-sdk-windows\temp\ToolPackage.old01.
Failed to rename directory D:\Install\Programming\android-sdk-working-dir\android-sdk_r04-windows\android-sdk-windows\tools to D:\Install\Programming\android-sdk-working-dir\android-sdk_r04-windows\android-sdk-windows\temp\ToolPackage.old01.
我知道HTTP / HTTPS和防病毒问题。所以,我不启动我的AV。我还关闭了可能拥有一个句柄到文件夹的任何应用程序。 Eclipse也是关闭的(我开始通过命令行的经理)。不过,我仍然得到同样的错误。
I am aware of http/https and antivirus issues. So I disactivated my AV. I also closed any application that might hold a handle to the folder. Eclipse is also closed (I start the manager via command line). However I still get the same error.
貌似唯一的应用程序,可容纳的句柄,文件夹是管理者本身,因为它的起始目录是一个有关错误的抱怨('\工具)。
Looks like the only app that can hold a handle to the folder is the manager itself, because its starting directory is the one the error complains about ('\tools').
我在Win XP专业版+ SP3。我跑作为管理员。
I am on Win XP Pro + SP3. I run as admin.
有没有人有一个想法?
推荐答案
我的认为的,他们固定在工具的更新版本这个问题,但我遇到了这个而回。这是我做的:
I think they fixed this problem in the later version of the tools, but I ran into this a while back. Here's what I did:
- 复制
工具\
到废\
SDK目录中 - 然
机器人
从废钢\
目录 - 做了升级
- 删除了
废\
完成后的目录
- Copied
tools\
toscrap\
within the SDK directory - Ran
android
from thescrap\
directory - Did the upgrade
- Deleted the
scrap\
directory when done
我可能不得不也更改环境变量(例如, PATH
)已指向工具\
指向废\
在这个过程中 - 我在细节上有点模糊
I might have had to also change environment variables (e.g., PATH
) that had been pointing to tools\
to point to scrap\
during this process -- I'm a bit fuzzy on the details.
这篇关于安卓:麻烦更新到Android SDK工具,修订7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!