在Android Studio上哪里可以安装Android SDK选项? [英] Where is Android SDK option to install on Android Studio?

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

问题描述

我刚刚格式化并安装了一个新的Windows10。接下来,我下载了Android Studio,但没有看到要安装的Android SDK选项。

I've just formatted and installed a fresh windows 10. Next, I downloaded Android Studio and didn't see the Android SDK option to install.

Android_Studio_Install_Option

我还是安装了它。自然,在我打开Android Studio之后,它打开一个窗口,说它需要Android SDK才能正常工作。我再次进入Android Studio主页,并下载了
SDK命令行
将其提取到c:\program files\android。我再次打开Android Studio,尝试将c:\program files\android\tools中的tools文件夹定位为SDK的位置,并收到以下警告:
SDK无效首页

I installed it nevertheless. Naturally, after I opened Android Studio, it opened a window saying that it needs Android SDK to work properly. I went to Android Studio homepage again, and downloaded SDK Command Line Extracted it to c:\program files\android . I opened Android Studio again and tried to pinpoint the tools folder inside c:\program files\android\tools as the location of SDK and received this warning: not valid home for SDK

我输入了具有管理员权限的CMD,工具文件夹,并执行android update sdk,它下载了一些文件,过了一会儿就写了repositores.cfg。

I typed CMD with administrator rights, entered the tools folder, and executed android update sdk and it downloaded some files and wrote after a while repositores.cfg could not be loaded.

我现在没有选择了。我需要SDK进行编译!我在互联网上找不到离线安装。没有SDK如何安装Android Studio?我不明白...,而在您问之前,c:\users\my_user\AppData\local上没有android文件夹...最新的Android Studio安装程序是否存在错误?我尚未安装SDK,因为这是Windows 10的全新安装。对此问题的帮助将非常多。

I am out of options now. I need the SDK to compile ! I can't find an offline install on internet. How can Android Studio be installed without the SDK ? I do not understand... and before you ask, there's no android folder on c:\users\my_user\AppData\local ...is there a bug on the latest Android Studio install program? I can't have SDK already installed because this is a fresh install of windows 10. Help on this matter will be much aprecciated.

推荐答案

<我有类似的问题。我从以前的Android Studio安装中导入了设置,并且我的Android SDK位置设置为空文件夹。我不知道如何下载新的Android SDK,但是在单击 Android SDK位置旁边的编辑后(在默认设置>外观和行为>系统设置> Android SDK中),Android Studio打开了一个对话框,选择安装/更新我的SDK或只是其中的选定组件。

I had similar problem. I had settings imported from my previous Android Studio installation and my Android SDK Location was set to a folder which was empty. I couldn't figure out how to download new Android SDK but after clicking "Edit" next to "Android SDK Location" (in Default Settings > Appearance & Behavior > System Setttins > Android SDK) Android Studio opened a dialog box where I could choose to install/update my SDK or just selected components of it.

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

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