# HG changeset patch # User Oleksandr Gavenko # Date 1714073594 -10800 # Node ID f0ab046a080f9cb8c1c0dd409864cdc8b4d91a82 # Parent fa6f56666150ea5f930dd27d409a7fa8059fc5b1 Installing Android SDK from command line tools. diff -r fa6f56666150 -r f0ab046a080f android-devel.rst --- a/android-devel.rst Sun Apr 21 11:33:35 2024 +0300 +++ b/android-devel.rst Thu Apr 25 22:33:14 2024 +0300 @@ -16,3 +16,31 @@ https://www.google.com/design/spec/material-design/introduction.html Material design, components list and example. +Installing Android SDK from command line tools +============================================== + +Download "Command line tools only" in: + +https://developer.android.com/studio + Android Studio downloads + +Define env var ``ANDROID_HOME``, like:: + + ANDROID_HOME=c:\opt\android-sdk + +Place ``bin`` & ``lib`` dirs from the zip archive to (the difference is that the archive +misses ``latest`` part):: + + %ANDROID_HOME%\cmdline-tools\latest + +Run the ``sdkmanager.bat``:: + + sdkmanager.bat --list + +Install ``platform-tools``, containing ``adb`` & ``fastboot``:: + + sdkmanager.bat --install platform-tools + +Update ``PATH``, add :: + + %ANDROID_HOME%\platform-tools