Search code examples
androidsdklaunch

Launch Android SDK manager - Tools directory doesn't exist? Mac


I'm on mac, I think I've done everything right so far. following these instructions: http://developer.android.com/sdk/installing/adding-packages.html

it says to navigate to tools/ directory in terminal. Here are my steps.

  1. Open terminal

  2. cd Applications result is: No such file or directory

path to my tools directory is as follows

Applications->adt-bundle-mac-x86_64-20130219  ->SDK -> tools

I tried putting my folder onto my desktop, both the tools folder, and my adt-bundle because I could change directory to my desktop, and when I enter ls to the terminal I see my tools folder, and my adt-bundle is there,

but the problem is when I try to enter

cd tools

or

cd adt-bundle(etc...)

it says that it is not a directory.

what do I do?


Solution

  • I recently encountered this issue, and figured I'd post on this for clarification or for anyone still encountering it.

    It seems you have to be at the root of the /adt-bundle-mac-VERSION/sdkdirectory in order to execute the "android" command. I normally cd into the directory until I reach the location of the command, but in this case I encountered the same issue as the original poster.

    You must use the tab key to the android command... ie...

    locate your installation /adt-bundle-mac-x86_64-20131030/sdk hit TAB key /tools hit TAB key /android

    instead of cd adt-bundle-mac-x86_64-20131030/ cd/sdk cd/tools android

    If done properly the SDK manager should launch for you.

    Hope this helps anybody out there.