错误:停止 ADB 服务器失败(代码 -1){安装 API - Android SDK} [英] Error: Stopping ADB Server Failed (Code -1) {Installing API's - Android SDK}

查看:17
本文介绍了错误:停止 ADB 服务器失败(代码 -1){安装 API - Android SDK}的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我最近安装的 Android SDK 下载和安装最新的 Android API 和系统映像.

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.

在下载 API 时,我在安装过程中很快遇到了一个错误.

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

错误是这个:

停止 ADB 服务器失败(代码 -1).

我很好奇,这会影响安装的结果吗?它说它安装了,它继续到下一个 API,所以这有影响吗?

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?

我假设发生这种情况是因为我现在正在通过 Tethered Android 移动设备下载 API,这确实依赖 ADB 来连接到计算机.因此,如果它停止,它将取消下载,无论如何都无法安装.

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.

真的,主要问题是这是否会影响安装,在安装和下载 API 时无法停止 ADB.

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.

如果这会影响安装,我不能按照每个 API 列出的链接手动下载并手动安装吗?考虑到我在移动设备上,我将每一点都视为黄金.尽管我有一个无限数据计划,但我不想成为被限制在前 5% 的人之一,这实际上发生在我的旧 AT&T 计划中.

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.

推荐答案

AFAIK,安装完所有包后,下载管理器重启ADB服务.在您的情况下,下载管理器似乎无法停止 adb 服务.如果我要验证安装,

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. 我会再次开始安装,这一次我可能会看到已经安装了很多软件包.如果缺少某些东西,我将有机会安装它.

  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.

您可以随时手动重启 adb 服务,看看它是否重启干净,没有任何错误.

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

这篇关于错误:停止 ADB 服务器失败(代码 -1){安装 API - Android SDK}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆