[HOWTO] ADB for Macintosh Users Only for complete beginners!

Search This thread
H

hanser01

Guest
I AM NOT RESPONSIBLE FOR ANY PROBLEMS YOU CAUSE!

So you are stumbling around XDA and you really want some kind of app or something, but you think you cant because you have a Mac, well I am here to tell you wrong.
The biggest and most used mistake for mac users when trying to use ADB is this:
HTML:
Inas-iMac:~ Hans$ /AndroidSDk/tools 
-bash: /AndroidSDk/tools: is a directory
Inas-iMac:~ Hans$

Well this is how you do it!
Watch this!:eek:
http://www.youtube.com/watch?v=GLAMG4xU_lE

To make your phone go into debug mode go to settings/applications/development and check debug
DO NOT MOUNT PHONE! Just let it be
I did not go to deep into the process because this is made for complete beginners!
 
Last edited:

Sapatti

Member
Mar 1, 2010
5
0
Why not follow the official SDK install instructions and add the path to bash_profile..
developer.android.com/sdk/installing.html#Installing

In my opinion that's not too hard for a newbie.. (i managed to do that) And after doing that you don't need to change directories with cd command, you can just type adb whatevercommand from your home dir which is the default location when you open the terminal.
 

carbonyle

Senior Member
Aug 23, 2007
81
0
Drag and drop is a little a fail.... one can add "alias" (linux can do it, probably mac too)

Little How-to:

Code:
$ nano ./bashrc
add and adapt the following line to bashrc:
Code:
alias adb="/home/carbonyle/android-sdk-linux_86/tools/adb"
now you just have to type "adb" from a terminal emulator to run it, eg:
Code:
$ adb shell
# reboot recovery
or
Code:
 adb install ./Download/myFavortiteApp.apk
and so on...

ps: we don't need to "adb remount" at worst we can just "adb kill-server" then "adb start-server" if the device is not accessible
 
Last edited: