Search Unity

Error building Player: CommandInvokationFailure: Unable to kill the adb server.

Discussion in 'Android' started by Afisicos, Aug 2, 2013.

  1. Afisicos

    Afisicos

    Joined:
    Nov 13, 2010
    Posts:
    326
    Hello, I bought a windows 8 computer and I installed Jdk 32 bits + SDK android with the last build.
    My unity find my SDK directory but it says that it can't kill the adb server.
    That error is new for me and i don't find nothing on internet.

    Anyone knows what is happen?

    Error building Player: CommandInvokationFailure: Unable to kill the adb server. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.
    C:/android-sdk\platform-tools\adb.exe kill-server


    Also the SDK manager says this sentence when was downloading the packages: Stopping ADB server failed (code -1), but it continued installing the packages.

    Thanks
     
  2. aliken9

    aliken9

    Joined:
    Jan 28, 2013
    Posts:
    2
    Kind of a late post but I hope this will help somebody.

    My editor displayed the same error when I tried building on android. It had an extra line after the error log saying that the server was not running.

    This was my fix for it:
    1. I manually went to the folder where the adb.exe is and started it, it'll start as a process in your task manager.
    2. Tried to build it again and it works!
     
  3. Elum224

    Elum224

    Joined:
    Nov 23, 2013
    Posts:
    36
    I'm currently having this issue too.
    Anyone else got solutions?
    I have already tried aliken9's solution to no avail. The ADB process is already running on my machine.
     
  4. jadengoho

    jadengoho

    Joined:
    Jul 19, 2015
    Posts:
    1
    Same Error !! Please HELP!!
     
  5. Pratap-Dafedar

    Pratap-Dafedar

    Joined:
    Aug 30, 2013
    Posts:
    22
  6. babji3

    babji3

    Joined:
    May 28, 2015
    Posts:
    179
    No use.