android-devel.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 25 Apr 2024 22:33:14 +0300
changeset 2593 f0ab046a080f
parent 2228 837f1337c59b
permissions -rw-r--r--
Installing Android SDK from command line tools.

.. -*- coding: utf-8; -*-

======================
 Android developemnt.
======================
.. contents::
   :local:

Specs.
======

https://design.google.com/resources/
  Design guides.
https://design.google.com/devices/
  Device metrics.
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