While installing Android Emulator (SDK) I am having an issue with the /opt directory

While installing the Android Emulator (SDK) by following this tut and applying these commands:

    $ cd /opt     $ wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz     $ sudo tar -zxvf android-sdk_r24.4.1-linux.tgz     $ cd /android-sdk-linux/tools     $ ./android 

I got past the first two commands fine then when entering the third command:

    $ cd /android-sdk-linux/tools 

I got this error: bash: cd: /android-sdk-linux/tools: No such file or directory

I am very new linux and have searched for answers but cannot find the answer.

Thank you for reading


Try do download the package from the official website and extract it.

after that use the gui installation and everything will be fine!!

Just do a ls to see what folders are there in the directory and then replace that /android-sdk-linux/tools with something like /android-sdk_r24.4.1-linux/tools change that android-sdk_r24.4.1-linux according to the folder you find upon doing a ls whose name probably will begining with android.

Further Note: Here cd means change directory just like you normally do by double clicking on the folder icon , thats just the command line way. If you are using the default terminal than you can just type cd and drag that folder from file manager to the terminal and press enter to enter it. Thats just a simple trick which can help you a lot!


Category: command line Time: 2016-07-29 Views: 4

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.286 (s). 12 q(s)