Alex Rivera | Logout

Error: Stopping ADB Server Failed (Code -1) {Installing API's - Android SDK}

Asked 2012-07-20T03:44:35.430
14

I am in the process of Downloading and installing the most recent Android API's and System images on my recent install of Android SDK.

While downloading the API's, I ran across an error fairly quickly into the install.

Parse XML:    https://dl-ssl.google.com/android/repository/sys-img.xml
  Found Intel x86 Atom System Image, Android API 15, revision 1
Done loading packages.
Preparing to install archives
Downloading Android SDK Platform-tools, revision 13
Installing Android SDK Platform-tools, revision 13
Stopping ADB server failed (code -1).
Installed Android SDK Platform-tools, revision 13

The Error is this one:

Stopping ADB server failed (code -1).

I am curious, will this effect the outcome of the installation? It says that it installed, and it continued onto the next API, so did this effect it?

I assume this happened because I am downloading the API's over a Tethered Android mobile device right now, which is indeed dependent on ADB to tether to the computer. So if it were to stop, it would cancel the download, making the install impossible anyway.

So really, the main question is whether this will effect the installation, not being able to stop ADB while installing and downloading the API's.

And if this will effect the install, couldn't I just follow the links listed for each API' download manually and install manually? Considering I am on the Mobile Device I treat every bit as gold. Despite the fact I have an unlimited data plan, I prefer to not be one of the ones who get capped for being in the top 5%, which actually happened to me on my old AT&T plan.

So any way to be able to do this once, and do it without stopping ADB, would be great. Just need your thoughts folks.

Thanks for your time, I appreciate it.

Edit
Report

1 Answer

5

AFAIK, the after installing all the packages, the download manager restarts the ADB service. In your case, it appears that the download manager was not able to stop the adb service. If i were to validate the installation,

  1. I would just kick off the installation again, and this time i'll probably see lot of packages already installed. If something missing, i'll get a chance to install it.

  2. You can always manually restart the adb service to see if it restarts clean without any error.

answered 2012-07-20T04:01:23.683

Your Answer