Android的工作室错误:"必须安装Android支持库虽然SDK管理器"管理器、必须安装、错误、工作室

2023-09-04 06:51:41 作者:花开花败丶你已不在

我只是初始化在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

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