android sdk更新失败Failed to create directory C:\ Program Files\Android\android-sdk\temp

21 篇文章 0 订阅

Fixing “Failed to create directory…” error while installing SDK Platform

解决SDK平台安装失败的问题


This is a common problem faced by Windows 7 users while installing SDK Platform Tools. The error says:
Downloading Android SDK Platform-tools, revision 7
Failed to create directory C:\ Program Files\Android\android-sdk\temp
Downloading SDK Platform Android 2.3.3, API 10, revision 2
Failed to create directory C:\ Program Files\Android\android-sdk\temp
Downloading SDK Platform Android 2.2, API 8, revision 3
Failed to create directory C:\ Program Files\Android\android-sdk\temp
Downloading SDK Platform Android 2.1, API 7, revision 3
Failed to create directory C:\ Program Files\Android\android-sdk\temp

解决方法一:

To fix this issue you need to disable your UAC (User Account Control) setting completely. Go to Control Panel > User Accounts and Family Safety > User Accounts > Change User Accounts Control Settings. Click there and this will open a new Window for UAC permissions or Click on Windows Button > Type UAC > Hit EnterDrag down the slider to Never notify and Click Ok. After that, restart Windows to apply settings.

按上面步骤,更改用户账户控制设置,然后重新启动即可。如下图:



解决方法二:(推荐)

Make sure you have writing permissions for that folder. Try starting Eclipse or the SDK Manager as Administrator.

确保对这个文件夹有写的权限,以管理员方式运行Eclipse。



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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值