Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to ADB up and going but having a bit of a hard time. I'm not a noob by any means when it comes linux. In order to install Android SDK Tools I need to change directory and this is what im having a hard time doing. Here is what I'm getting in the terminal:

kendall@kendall-ThinkPad-T420:~$ cd /downloads/android-sdk-linux/tools

bash: cd: /downloads/android-sdk-linux/tools: No such file or directory

kendall@kendall-thinkpad-T420:~$

What am I doing wrong?

share|improve this question
    
Did you download and extract the SDK. The download should have gone into the ~/Downloads folder and extracting should have created the ~/Downloads/android-sdk-linux/tools folder. –  user3121023 Feb 17 at 11:38

2 Answers 2

The directory you're trying to change into doesn't exist.

This is probably what you want instead:

cd "$HOME/Downloads/android-sdk-linux/tools"

Notes:

  • The / represents the root of your filesystem, not your home folder.
  • Paths are case sensitive
share|improve this answer
    
Nope.I got the same result. Thank you thou –  user246930 Feb 16 at 23:01

I think it may be a typo .do you have the folder 'downloads' in the root directory or was it '~/Downloads' in the as in Downloads with a capital D in the home directory. If you go to the folder in nautilus and right click you can get to properties and in that the location is given.

share|improve this answer
    
This is what it said in the properties: Tpe: Folder (inode/directory) Location: /home/kendall –  user246930 Feb 16 at 22:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.