Android Studio上未安装Android SDK [英] Android SDK not being installed on Android Studio

查看:568
本文介绍了Android Studio上未安装Android SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基于我的最后一个问题-我下载了Android来自此链接的Studio(不带SDK)2.2.3.0(

Based on my last question - I downloaded Android Studio (without the SDK) 2.2.3.0 from this link (https://dl.google.com/dl/android/studio/install/2.2.3.0/android-studio-ide-145.3537739-windows.exe).

然后我从此链接下载了Android SDK( https://dl.google.com/android/repository/tools_r25.2.3-windows.zip ).

Then I downloaded the Android SDK from this link (https://dl.google.com/android/repository/tools_r25.2.3-windows.zip).

我将Android SDK提取到"C:\ androidsdk",现在"androidsdk"文件夹包含一个名为"tools"的文件夹.在工具"中有很多文件.

I extracted the Android SDK to "C:\androidsdk" , and now the "androidsdk" folder contains a folder called "tools". and inside this "tools" there's a lot of files.

当我打开Android Studio时,它已经下载了SDK.因此,我断开了互联网连接,然后再次打开Android Studio.现在,我手动选择SDK路径,即"C:\ androidsdk" ..这是问题所在,我得到了:

When I open Android Studio, it already download the SDK. So I disconnect the internet and open Android Studio again. Now I choose the SDK path manually, which is "C:\androidsdk" .. here is the problem, I get:

目标文件夹既不为空也不指向现有的SDK 安装.

Target folder is neither empty nor does it point to an existing SDK installation.

因此,我选择的路径为"C:\ androidsdk \ tools",而我遇到了同样的问题.

So, I selected the path as "C:\androidsdk\tools" instead of that and I get the same problem.

推荐答案

我找到了一个解决方案,其中涉及更改android studio的默认设置.在下载的SDK中创建一个空文件夹,即"platforms".转到配置"->项目设置"->指定SDK的路径".链接为: https://askubuntu.com/questions/989007/sdk-is-missing -error-android-studio

I have found a solution which involve changing the default of android studio. Create an empty folder namely 'platforms' in your downloaded SDK Go to Configure->project setting ->Specify path to your SDK. Link is: https://askubuntu.com/questions/989007/sdk-is-missing-error-android-studio

使用最新下载的SDK,这对我有用.

This has worked for me using latest downloaded SDK.

这篇关于Android Studio上未安装Android SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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