5

I am running ubuntu 16.04 and I have installed android-sdk using :-

sudo apt-get install android-sdk

and after installation , when i run

android

it says command not found.

I cannot even see "android-sdk" in my home folder.

When i run sudo apt-get install android-sdk command again , it says

android-sdk is already the newest version (24.3.3+2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I even tried finding "android" in my "/home/username" directory , "root" directory.

I cannot find it.

1 Answers1

7
  • Uninstall actual android-sdk:

    sudo apt-get purge android-sdk
    
  • Download the latest android-sdk using:

    wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz 
    
  • Unpack downloaded package to your HOME directory:

    tar -xvf android-sdk_r24.2-linux.tgz
    
  • Set ANDROID_HOME path

Now you should able to use android command.

Try to update your sdk using:

android update sdk --no-ui

Hope it will help