![]()
I downloaded Android Studio and installed it. Platforms android-27 | 3 | Android SDK Platform 27 | platforms/android-27/ Platform-tools | 30.0.1 | Android SDK Platform-Tools | platform-tools/ ANDROID SDK DOWNLOAD ZIP PATCHPatcher v4 | 1 | SDK Patch Applier v4 | patcher/v4/ Installed packages:=] 100% Computing updates.īuild-tools 27.0.3 | 27.0.3 | Android SDK Build-Tools 27.0.3 | build-tools/27.0.3/Įmulator | 30.0.12 | Android Emulator | emulator/ Hence Sdkmanager path is already set it will be accessible from anywhere: $ sdkmanager -update ANDROID SDK DOWNLOAD ZIP INSTALLNOTE: well in first attempt sdkmanager command didnt found for me so I close the terminal and again created the connection or you can also refresh the same if it works for you.Īfter that use the sdkmanager to list and install the packages needed: $ sdkmanager "platform-tools" "platforms android-27" "build-tools 27.0.3" Now go inside the same directory: $ cd android-sdk Here strange thing that we haven't download the platform-tools directory as of now but mentoning it under path but let it be as it will help you avoid remodification on the same file later. bashrc file : export ANDROID_HOME=/home//android-sdkĮxport PATH=$:$ANDROID_HOME/cmdline-tools/tools/bin:$ANDROID_HOME/platform-tools In order to edit the ~/.bashrc simply can be editable in vim mode $ vim. Add below line either in ~/.bashrc or ~/.profile file to make it permanent. You can easily point out that build-tools and cmdline-tools are siblings, all resides inside the parent ANDROID_HOME.Īdd SDK tools directory in PATH environment variable to make executable available globally. The final, complete ANDROID_HOME directory structure should look like below, consist of quite a few sub-directories:īuild-tools, cmdline-tools, emulator, licenses, patcher, platform-tools, platforms, tools. Because later, when updating Android SDK, or installing more packages, the other packages will be placed under ANDROID_HOME, but not under cmdline-tools. , you'd better set in PATH environment variable.īut cmdline-tools should not be set as ANDROID_HOME. Well the folks who are trying to download either on *ix or Ec2 machine would suggest to clean approach in below steps: $ mkdir android-sdk
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |