Question

I'm trying to setup the OUYA driver on my Mac OS (Maverick) and I'm getting bash-3.2$ command not found when I type in the commands to root the pointer / install the driver. I'm following this video tutorial http://www.youtube.com/watch?feature=player_embedded&v=5LSBiNfMq8A and have followed everything correctly but for some odd reason once I try to type in adb after bash-3.2$ comes up, not works. What am I doing wrong? I've looked all over the internet and on the OUYA forums and I can't seem to figure out what is wrong with my terminal commands.

Matthews-Mac-mini:~ mycomp$ vi ~/.bashrc
Matthews-Mac-mini:~ mycomp$ adb
-bash: adb: command not found
Matthews-Mac-mini:~ mycomp$ bash
bash-3.2$ adb kill-server
bash: adb: command not found
bash-3.2$ 

Thanks.

Was it helpful?

Solution

The adb tool is part of the Android SDK. If ANDROID_HOME is set to the directory where you put the Android SDK on your Mac, then you need to add $ANDROID_HOME/platform-tools to PATH , like this in your ~/.bashrc:

ANDROID_HOME=/users/myname/android  # or wherever you put the Android SDK
PATH=$ANDROID_HOME/platform-tools:$PATH

OTHER TIPS

For anyone using a Mac that couldn't find were to run the command in the terminal it is located at

Users/YourUserName/Library/Android/sdk/platform-tools

(if you type ls you should see a file called "adb") You'll type ./adb kill-server that should do it.

Apparently the ./ is the full path to the executable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top