DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20

Thread: Using adb and terminal on a mac

  1. Droid Newbie
    kaotik0c's Avatar
    Member #
    18457
    Join Date
    Dec 2009
    Posts
    3
    Phone
    Droid
    #11

    This works for me

    I had to play around with these commands on my Mac as well. The following two commands work for me, assuming the sdk folder is sitting right on the first level of your mac hd and bootanimation.zip is sitting in the tools folder with adb. If not, just alter the paths.

    Keep in mind you can drag and drop into Terminal to make things easy. For instance, the first time I ran this i typed "cd " then dragged the Tools folder over, it inserts the path, especially useful when buried deep (like your desktop).

    cd /android-sdk-mac_86/tools

    /android-sdk-mac_86/tools/adb push bootanimation.zip /data/local

    **also, the big difference I noticed from other posted directions was that in the 2nd command I had to give the path to adb, even though I had changed directory in the previous command. Wouldn't work otherwise. Perhaps a Mac terminal expert can comment on why**
    Last edited by kaotik0c; 12-29-2009 at 01:11 PM.
  2. Master Droid
    mammlouk's Avatar
    Member #
    15042
    Join Date
    Dec 2009
    Posts
    316
    Phone
    Motorola Droid
    #12
    Did you try running it as "./adb push bootanimation.zip /data/local" as has been mentioned previously.
  3. Master Droid
    Berzerker's Avatar
    Member #
    18177
    Join Date
    Dec 2009
    Posts
    331
    Liked
    1 times
    Twitter
    @berzerker7
    Phone
    Motorola Droid Bionic
    #13
    Quote Originally Posted by Dandroid247 View Post
    awesome, i will definitely try that when i get home from work tonight. Is there anything else I should keep an eye out for in particular or other advice? What happens if adb isn't in there or nothing shows up at all?
    If adb isn't in there, you're not in the right directory.
  4. Droid
    Dandroid247's Avatar
    Member #
    7709
    Join Date
    Nov 2009
    Posts
    86
    Phone
    Droid
    #14
    alright, woohoo, it worked. I think it was the whole ./ as opposed to just / that made the difference. I used ls, terminal gave me the file list, put in the push bootanimation command and got a message saying that daemon not running. starting it now, next line says daemon started successfully. so basically do i have to type in ./adb before every command? And just so im understanding, although I'm guessing, when I change directories into the tools folder, does typing ./adb signify to use that exec file to run the command? I mean as opposed to say typing in ./apkbuilder to run a command? I hope that makes sense.
  5. Droid
    Dandroid247's Avatar
    Member #
    7709
    Join Date
    Nov 2009
    Posts
    86
    Phone
    Droid
    #15
    oh, and while I'm thinking about it, is there anyway to make sure that the command worked before i actually eject the phone and try it out? I guess what I mean is will terminal give me some sort of confirmation?
  6. Droid
    Dandroid247's Avatar
    Member #
    7709
    Join Date
    Nov 2009
    Posts
    86
    Phone
    Droid
    #16
    well ill be damned, it worked. hahahaha, you guys have no idea how happy this makes me. not really that I got it done but more so that I understand a little better. This just made my week. Thanks so much you guys for all the help. And I hope that you all won't mind me asking more in the future.
  7. Droid
    miamidroid's Avatar
    Member #
    21015
    Join Date
    Dec 2009
    Posts
    89
    Phone
    Enter Current Phone Here
    #17
    ok I got this working on my mac and have been able to not only root my droid but also instal 2.1 and wifi tether. If anyone needs any help let me know. I know at first I was a little confused on how to get the commands going but now I feel I understand it somewhat, atleast enough to follow write-ups...
  8. Junior Droid
    Nomsy79's Avatar
    Member #
    99791
    Join Date
    Aug 2010
    Posts
    5
    Phone
    Enter Current Phone Model Here
    #18

    Please Help

    Thanks for the post guys...I know it's an old one but it was very helpful. I've been reading through everything and I still can't seem to get this to work. This is whats happening:

    I keep getting an error in Terminal saying that the file or directory cannot be found. I am putting in cd/Users/name/Desktop/android-sdk-mac_86/tools and nothing is happening. Am I typing in something wrong?

    Any help would be greatly appreciated! Thanks in advance.
  9. Droid Newbie
    TryThrowCatchFinally's Avatar
    Member #
    146436
    Join Date
    Dec 2010
    Posts
    3
    Phone
    Droid 2
    #19
    Sorry for the 4 month late reply, but in the newer SDK, adb has moved from tools to platform-tools. Hope this solves your problem.
  10. Droid Newbie
    jaebond's Avatar
    Member #
    151177
    Join Date
    Dec 2010
    Posts
    2
    Phone
    Eris
    #20
    Perfect reply! Thank you!
Page 2 of 2 FirstFirst 1 2

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Credit Card Processing/Virtual Terminal
    By yogijen in forum Android Applications
    Replies: 7
    Last Post: 03-05-2012, 02:33 AM
  2. Question on Terminal apps PC etc
    By Bear in NM in forum Droid Hacks
    Replies: 8
    Last Post: 12-28-2009, 07:38 AM
  3. PC Terminal emulator, GUI?
    By Flowah in forum Droid Hacks
    Replies: 8
    Last Post: 12-15-2009, 02:47 AM

Search tags for this page

adb command not found

,

adb command not found mac

,
adb not found mac
,
adb terminal
,
adb terminal mac
,
adb: command not found
,
how to run adb mac
,
how to run adb on mac
,

mac adb command not found

,
run adb mac
,

run adb on mac

,
running adb on mac
,
use adb on mac
,
using adb mac
,
using adb on mac
Click on a term to search our site for related topics.
Find us on Google+