简体   繁体   English

在SDK Manager中更新Android工具会自动重新启动计算机

[英]Updating Android tools inside of SDK Manager automatically restarts my machine

Here is what's going on... It doesn't matter if I'm in Eclipse or manually launch SDK Manager. 这是怎么回事...不管我是在Eclipse中还是手动启动SDK Manager。 Once I'm in the Android SDK Manager I have packages selected and I click Install x packages... I accept the License agreement then click Install. 进入Android SDK Manager后,我选择了软件包,然后单击Install x packages ...我接受许可协议,然后单击Install。 It is then my computer restarts itself before it downloads and installs anything. 然后,我的计算机将自行重启,然后再下载并安装任何内容。 It restarts before I can see any error messages. 重新启动后,我才能看到任何错误消息。 It does this every single time. 它每次都执行此操作。 I have re-downloaded everything and tried it from scratch, but I still get it. 我重新下载了所有内容,并从头开始尝试,但仍然可以。 Why is it doing this and how can I prevent it?! 为什么这样做,我该如何预防呢?

Since nobody on here could help me I figured it out. 由于这里没有人可以帮助我,所以我解决了。 Here's what I did. 这就是我所做的。 First, I gave all permissions and took away read only attributes for the folder sdk [it may be named something different on your system] I then created a copy of the tools folder and named it tools 2. I opened a command prompt using administrator and use the command "android.bat avd manager" and i was able to update my sdk tools and all without any issues. 首先,我授予了所有权限,并删除了sdk文件夹的只读属性[它在您的系统上可能被命名为其他名称],然后创建了tools文件夹的副本,并将其命名为tools 2。使用命令“ android.bat avd manager”,我能够更新我的sdk工具,而所有这些都没有任何问题。 Thank you me. 谢谢我

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

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