无法升级的Andr​​oid SDK [英] Cannot upgrade Android SDK

查看:145
本文介绍了无法升级的Andr​​oid SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经关闭了所有的窗口,重新启动计算机。但是Eclipse的告诉我:C:\ Program Files文件\ Android的SDK \工具正在访问....我还删除了目录,但我仍然可以:?如何解决

  

无法重命名目录C:\ PROGRAM   文件\机器人\ Android的SDK \平台工具到C:\ PROGRAM   文件\机器人\ Android的SDK \ TEMP \ PlatformToolPackage.old01。

解决方案

我已经在Windows上的问题了。相反,通过Eclipse的更新它,尝试独立的选项:

  1. 关闭Eclipse
  2. 打开一个命令提示符窗口(最好在 管理员模式)
  3. 运行命令机器人

如果您有SDK工具目录路径它会打开你在Eclipse中,但没有额外的文件锁定获得相同的UI。如果不是在你的路径在℃的样子:\ Program Files文件\机器人\ Android的SDK \工具并从那里运行android.bat

另外,一旦你已经更新了SDK,不要忘了火起来Eclipse和,帮助菜单上,单击检查更新。你可能会发现的ADK Eclipse插件需要被更新过 - 这往往就在步以SDK更新

I have closed every window, restarted the computer. But Eclipse is telling me: "C:\Program Files\android-sdk\tools is being accessed....I even deleted the directory but I still get : how to fix?

Failed to rename directory C:\Program Files\Android\android-sdk\platform-tools to C:\Program Files\Android\android-sdk\temp\PlatformToolPackage.old01.

解决方案

I have had this problem on Windows too. Instead of updating it through Eclipse, try the stand-alone option:

  1. Close Eclipse
  2. Open a Command Prompt window (ideally in Administrator mode)
  3. Run the command "android"

If you have the SDK tools directory in your path it will open the same UI you get in Eclipse but without additional file locking. If it is not in your path have a look in C:\Program Files\Android\android-sdk\tools and run "android.bat" from there.

Also, once you have updated the SDK, don't forget to fire up Eclipse and, on the Help menu, click "Check for Updates". You may well find the ADK Eclipse plugin needs to be updated too - this often goes in step with SDK updates.

这篇关于无法升级的Andr​​oid SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆