Android的工作室没有启动,未能说法组件未安装 [英] Android Studio doesn't start, fails saying components not installed

查看:390
本文介绍了Android的工作室没有启动,未能说法组件未安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了最新版本的谷歌Android工作室。启动它后,它会尝试下载一些软件包。

I have installed Latest version of Android studio from Google. After launching it, it tries to download some packages.

过了一会儿,它显示了以下错误。

After a while it shows the following error.

下面的SDK组件没有安装:超Android的m2repository,工具,插件,google_apis - 谷歌-21,Android为21,SYS-IMG-x86的插件 - google_apis - 谷歌-21,源21,额外-Google-m2repository

The following SDK components were not installed: extra-android-m2repository, tools, addon-google_apis-google-21, android-21, sys-img-x86-addon-google_apis-google-21, source-21, extra-google-m2repository

我不能纠正错误,即使我pressed的重试的多次。

I couldn't rectify the error, even though I pressed Retry multiple times.

任何人都可以提出解决方案!

Anyone can suggest solution!

推荐答案

而从我做起程序菜单运行Android工作室的快捷方式,第一次,我一直面临着类似的问题在Windows 7中,得到了下面的问题。

I had been facing the similar problem in Windows 7 and got the below problems while running the android-studio shortcut from my start programs menu for the first time.

解决方案:以管理员身份运行

Solution : Run As Administrator

该问题是由于下在Windows中的写权限:显示驱动器和访问被拒绝信息。运行程序作为管理员下载所有必需的组件,现在我就可以开始Android的Studio IDE中。

The problem was due to the write permission in Windows C: drive and the Access is Denied message is displayed. Running the program as administrator downloads all the necessary components and now I can start Android Studio IDE.

更新:

这些权限问题似乎并不在工作室的Andr​​oid最新版本(在Windows 10中1.3.2检查)存在和不工作以管理员身份运行命令。如果您仍然有与旧/最新版本的问题,那么它可能是你的防火墙和代理问题。在这种情况下,检查了其他的答案。

These permission issues doesn't seem to exist in Android Studio latest versions(checked in 1.3.2 in Windows 10) and works without the "Run as administrator" commands. If you still have the problem with the old/latest versions then it might be your firewall and proxy issues. In that case check out the other answers.

这篇关于Android的工作室没有启动,未能说法组件未安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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