Radiance
Well-Known Member
I haven't done this in awhile, so sorry if my instructions are a bit shaky. The good news is that you only have to do this once, and probably every OS X major update (like Snow Leopard to Lion, Lion to Mountain Lion, and ML to whatever 10.9 is called, ha).
Step 1 - So to start, here's where you go to get the SDK:
Android SDK | Android Developers
If you're not doing this for development reasons, like making an application, click on "USE AN EXISTING IDE". Of course you don't have an IDE, but you want it for the tools themselves.
Step 2 - So click on the "Download the SDK Tools for Mac". While you wait for that to download, make a folder called "Android SDK" in your Documents folder. When the download is done, unzip it, and then dump the contents into the folder we just created.
Step 3 - Most people will say to use the Terminal's Nano editor for the next step, but I find it a PITA to use, so I use TextEdit. It works perfectly fine. But it's much easier to open it in the Terminal to begin with. So, you want to open that (either with Spotlight or under Applications > Utilities) and then type this:
[HIGH]open -a TextEdit .bash_profile[/HIGH]
This is all locally done within your user directory as to not mess with the main Macintosh HD stuff.
There shouldn't be anything in the file when you open it. If there is, just press Enter and move to the next line, other wise just copy this:
[HIGH]export PATH="/Users/YOURUSERNAME/Documents/Android SDK/platform-tools/":$PATH[/HIGH]
And then change YOURUSERNAME to whatever yours is (usually just your name with no spaces, should say in terminal before the $) and then save it and close out.
Step 4 - Might be a good idea to close out of Terminal and then open it again after doing this.
Step 5 - Next you want to try using ADB by simply typing:
[HIGH]adb[/HIGH]
If it comes up with -bash: adb: command not found, you have issues. :smokingsomb: If it comes up with a bunch of adb this, adb that, you are good to go.
Step 1 - So to start, here's where you go to get the SDK:
Android SDK | Android Developers
If you're not doing this for development reasons, like making an application, click on "USE AN EXISTING IDE". Of course you don't have an IDE, but you want it for the tools themselves.
Step 2 - So click on the "Download the SDK Tools for Mac". While you wait for that to download, make a folder called "Android SDK" in your Documents folder. When the download is done, unzip it, and then dump the contents into the folder we just created.
Step 3 - Most people will say to use the Terminal's Nano editor for the next step, but I find it a PITA to use, so I use TextEdit. It works perfectly fine. But it's much easier to open it in the Terminal to begin with. So, you want to open that (either with Spotlight or under Applications > Utilities) and then type this:
[HIGH]open -a TextEdit .bash_profile[/HIGH]
This is all locally done within your user directory as to not mess with the main Macintosh HD stuff.
There shouldn't be anything in the file when you open it. If there is, just press Enter and move to the next line, other wise just copy this:
[HIGH]export PATH="/Users/YOURUSERNAME/Documents/Android SDK/platform-tools/":$PATH[/HIGH]
And then change YOURUSERNAME to whatever yours is (usually just your name with no spaces, should say in terminal before the $) and then save it and close out.
Step 4 - Might be a good idea to close out of Terminal and then open it again after doing this.
Step 5 - Next you want to try using ADB by simply typing:
[HIGH]adb[/HIGH]
If it comes up with -bash: adb: command not found, you have issues. :smokingsomb: If it comes up with a bunch of adb this, adb that, you are good to go.