install android sdk in ubuntu code example
Example 1: android sdk ubuntu
Latest version available there:
https://developer.android.com/studio / Command line tools only
Example 2: how to install android sdk tools in ubuntu using command line
$ export PATH=/opt/android/tools:/opt/android/tools/bin:$PATH