Android Studio 上未安装 Android SDK [英] Android SDK not being installed on Android Studio
问题描述
基于我的最后一个问题 - 我下载了 AndroidStudio(不带 SDK)2.2.3.0 来自此链接(https://dl.google.com/dl/android/studio/install/2.2.3.0/android-studio-ide-145.3537739-windows.exe).
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 中创建一个空文件夹,即平台"转到配置-> 项目设置-> 指定您的 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屋!