Android的工作室错误:"必须安装Android支持库虽然SDK管理器" [英] Android Studio Error: "You must install the Android Support Repository though the SDK Manager"

查看:537
本文介绍了Android的工作室错误:"必须安装Android支持库虽然SDK管理器"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是初始化在Android Studio中的一个项目,这是工作的罚款在0.2.6版本,但在0.2.7,我得到这个错误:

I just initialised a project on Android Studio, and it was working fine in version 0.2.6, but in 0.2.7, I get this error:

它创建在我的应用程序目录中的文件夹,但它不初始化该项目。任何有关此问题的帮助将是AP preciated。我没有得到任何问题0.1.1版本通过0.2.6版本,但是当涉及到​​0.2.7,事情开始变得有问题,这样,我甚至不能启动一个项目。

It creates a folder inside my Applications directory, but it does not initialize the project. Any help regarding this problem would be appreciated. I get no problems with version 0.1.1 through version 0.2.6, but when it comes to 0.2.7, things start to get problematic, like this and I can't even start a project.

推荐答案

通过2.7更新,我得到了同样的问题。它看起来像现在Android的工作室认为 SDK 奠定了下自己的文件夹,在 Android的工作室/ SDK

With 2.7 update I got the same issue. It looks like now Android Studio thinks sdk lays in under its own folder at android-studio/sdk.

您应该能够使用在 Android的工作室机器人应用程序/ SDK /工具来获取缺少的组件(未测试)。

You should be able to use android app under android-studio/sdk/tools to get missing components (not tested).

另一种解决方案是修复 SDK 路径(测试):

Another solution would be to fix sdk path (tested):

关闭所有项目,然后下降到欢迎到Android Studio的对话框

Close any projects then drop to Welcome to Android Studio Dialog

  1. 选择配置 - >项目默认设置 - >项目结构
  2. 选择软件开发工具包 - > Android的SDK - > Android SDK中主路径
  3. 更新到您的previous SDK位置。

这篇关于Android的工作室错误:"必须安装Android支持库虽然SDK管理器"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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