简体   繁体   English

安装Android Sdk(不适用于Eclipse)

[英]Installing Android Sdk (not with Eclipse)

I downloaded Android Studio and Android sdk for Linux. 我下载了适用于Linux的Android Studio和Android SDK。 Surprisingly, I didn't find any tutorial of how to install Android sdk, even at the official android web site. 令人惊讶的是,即使在官方的android网站上,我也找不到任何有关如何安装Android sdk的教程。 As for Android Studio, there is one there, it says that I just have to unzip Android Studio to the appropriate directory. 至于Android Studio,那里只有一个,它说我只需要将Android Studio解压缩到适当的目录。

So what about Android Sdk installing? 那么Android Sdk的安装呢?

I'm not 100% sure about Linux, but the Windows version of the SDK requires no "installing" - you just extract the contents of the archive and run the executable file. 我不确定Linux是否100%可靠,但是Windows版本的SDK不需要“安装”-您只需提取存档的内容并运行可执行文件即可。 This then displays the SDK manager, which allows you to download the various Android development components. 然后显示SDK管理器,可让您下载各种Android开发组件。 And since Windows is a lot more "needy" than Linux when it comes to installations vs just running stuff, I'm guessing that the Linux version will work the same ;) 而且由于Windows在安装方面比在运行方面要比Linux更为“灵活”,因此我猜想Linux版本将可以正常工作;)

The only other thing that you need to do is to add a ANDROID_SDK_HOME environment variable, and set it to the path where you extracted the SDK archive contents. 您需要做的唯一另一件事是添加ANDROID_SDK_HOME环境变量,并将其设置为提取SDK归档内容的路径。

我知道它发布得太晚了,但是可能对以后引用它的任何人有用: http : //www.moreontech.com/getting-started-android-studio-linux/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM