1. Download our Official Android App: Forums for Android!

Apps 2 adb processes?

Discussion in 'Android Development' started by scubaman, Jan 5, 2012.

  1. scubaman

    scubaman Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    68
    Joined:
    Sep 15, 2011

    Sep 15, 2011
    68
    8
    36
    I am running under windows 7 pro. When I start adb from a cmd prompt e.g. "adb shell" I see 2 adb processes starting up in task manager. I can exit the shell via ctrl-C and one of the adb processes closes but the other ones remains. Any ideas why?

    Regards,
    Rich
     

    Advertisement

  2. jiminaus

    jiminaus Well-Known Member
    Rank:
    None
    Points:
    63
    Posts:
    190
    Joined:
    Oct 27, 2011

    Oct 27, 2011
    190
    36
    63
    Sydney, Australia
    adb has a background server component of itself.

    You kill the server process with:
    Code (Text):
    1.  
    2. adb kill-server
    3.  
     
  3. scubaman

    scubaman Member
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    68
    Joined:
    Sep 15, 2011

    Sep 15, 2011
    68
    8
    36
    Ah OK - and is this background server the cause of mesages like "adb server is out of date. killing... " when invoking adb in a script?
     
  4. jiminaus

    jiminaus Well-Known Member
    Rank:
    None
    Points:
    63
    Posts:
    190
    Joined:
    Oct 27, 2011

    Oct 27, 2011
    190
    36
    63
    Sydney, Australia

Share This Page

Loading...