adb on a mac?

Discussion in 'Android Devices' started by hydrogeo1, Feb 7, 2010.

  1. hydrogeo1

    hydrogeo1 Member
    5

    Jan 29, 2010
    6
    0
    5
    Principal Hydrogeologis
    Exton, Pennsylvania
    I've downloaded adb for a mac and cannot get adb to launch from the mac shell. I've followed the instructions on developer.android, adding the path to the .bash_profile, but still no luck. Help/suggestions anyone? Thanks in advance.
     

    Advertisement
  2. foebux

    foebux Member
    15

    Jan 22, 2010
    12
    0
    15
    Student
    in the boondocks
    I had the same problem. Try

    PATH=$PATH:"the location of adb"
    then run adb

    so for example:

    PATH=$PATH:/users/johndoe/desktop/android-sdk-mac_86/tools
    adb
     
  3. hydrogeo1

    hydrogeo1 Member
    5

    Jan 29, 2010
    6
    0
    5
    Principal Hydrogeologis
    Exton, Pennsylvania
    Thanks foebux. I think that i was leaving out Desktop from my path. I'll give it a try. Should I set the path using .bash_profile?
     
  4. foebux

    foebux Member
    15

    Jan 22, 2010
    12
    0
    15
    Student
    in the boondocks
    if you want you can, but i dont because im lazy so i would have to type in the path every time.

    give it a try
     
  5. Larkitect

    Larkitect Active Member
    15

    Feb 6, 2010
    36
    0
    15
    South Carolina
    i just put adb in [ROOT]/usr/bin and didn't have to set PATH. fyi, usr is hidden.
     

Share This Page

Loading...