简体   繁体   English

使用Windows 7-64位将Android SDK Tools rev 19更新为rev 20的问题

[英]an issue updating Android SDK Tools rev 19 to rev 20 using windows 7- 64bit

I have an issue updating the android SDK tools rev 19 to rev 20 & Android SDK Platform-tool rev 11 to rev 12. 我有一个问题更新Android SDK工具rev 19到rev 20和Android SDK Platform-tool rev 11到rev 12。

I checked the SDK manager log and it displayed the below error: 我检查了SDK管理器日志,它显示以下错误:

File not found: C:\\Program Files (x86)\\Android\\android-sdk\\temp\\platform-tools_r12-windows.zip (Access is denied) 找不到文件:C:\\ Program Files(x86)\\ Android \\ android-sdk \\ temp \\ platform-tools_r12-windows.zip(访问被拒绝)

Skipping 'Android SDK Tools, revision 20'; 跳过“Android SDK工具,修订版20”; it depends on 'Android SDK Platform-tools, revision 12' which was not installed. 它取决于未安装的“Android SDK平台工具,修订版12”。

Done. 完成。 Nothing was installed. 什么都没安装。

Have you tried running the SDK Manager "as administrator" ? 您是否尝试“以管理员身份”运行SDK Manager?

Following steps to run SDK manager as administrator on windows 7 以下步骤在Windows 7上以管理员身份运行SDK管理器

  • Right Click SDK Manager 右键单击SDK Manager
  • Select Run As Administrator 选择以管理员身份运行
  • Click the YES button (if asked for) 单击是按钮(如果要求)

This method works only for Windows 7 x64 : 此方法仅适用于Windows 7 x64:

  1. Right click on SDK.exe 右键单击SDK.exe
  2. Click Properties 单击属性
  3. Select Compatibility 选择兼容性
  4. Check on Run This Program in Compatibility mod e for Windows XP SP3. 检查在Windows XP SP3的Run This Program in Compatibility mod
  5. Run this Program as Administrator . Run this Program as Administrator
  6. Apply & Ok 申请和确定

Try this: 试试这个:

  • Dowload zip file from this link . 从此链接下载 zip文件。
  • Navigate to C:\\Program Files (x86)\\Android\\android-sdk\\temp\\ and extract dowloaded file to this folder 导航到C:\\Program Files (x86)\\Android\\android-sdk\\temp\\并将下载的文件解压缩到此文件夹
  • It will rewrite your platform tools folder. 它将重写您的平台工具文件夹。
  • Download SDK tools revision 20 from here and add it to temp folder. 此处下载SDK工具修订版20并将其添加到temp文件夹。

That's it. 而已。 It works for me. 这个对我有用。

All you have to do is: 你所要做的就是:

  1. Right click on the SDK.exe file. 右键单击SDK.exe文件。
  2. Select trouble shoot compatibilty . 选择trouble shoot compatibilty
  3. Do not select the problem you don't have. 不要选择你没有的问题。
  4. You are ready to go. 你准备好了。

Worked for me, hope it helps. 为我工作,希望它有所帮助。

不要运行你的eclipse捷径作为管理员..运行管理员的实际exe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM