Android SDK 安装错误 - “没有可用的缓冲区空间(已达到最大连接数?):recv 失败

发布于 2024-08-20 19:18:36 字数 3182 浏览 2 评论 0原文

我正在尝试设置环境来开发 Android 应用程序,因此我下载了 SDK (http:// /developer.android.com/sdk/installing.html)。 解压文件并运行 SDK Setup.exe 后,Android SDK 和 AVD 管理器将打开。 在安装过程中,我收到一条错误消息,内容如下:

无法获取网址https://dl-ssl.google.com /android/repository/repository.xml,原因:HTTPS SSL 错误。您可能想在设置中强制通过 HTTP 下载。

然后我进入“设置”选项卡并激活复选框,其中显示:

强制 https://...使用 http:// 获取源

然后单击“保存并应用”。屏幕上闪烁一个框,这似乎是上一个显示错误的框,只不过这一次,进度条在大约一秒钟内从 0 加速到 100%,然后消失。因此,单击“FORCE”选项似乎可以解决该问题。

现在,我单击“可用包”选项卡,Android 管理器实际上在其中下载所有可用资源,包括每个“SDK Platform Android Vx.x”和每个“Google API by Google Inc.,API x,修订版 x”,

其中有绿色每个复选框中的复选标记表明我需要下载每个更新。 所以我单击“安装所选”。

出现确认页面。我再次单击“安装已接受”。

安装档案框弹出,这就是我陷入困境的地方。我收到以下错误,我不知道从这里该怎么做..

下载 Android SDK、API 7、修订版 1 的文档
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
下载 SDK 平台 Android 2.1、API 7、修订版 1
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
跳过“Google Inc. 的 Google API,Android API 7,修订版 1”;它取决于未安装的“SDK Platform Android 2.1, API 7, revision 1”。
下载 Google Inc. 提供的 Google API,Android API 7,修订版 1
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
下载 SDK 平台 Android 2.0.1,API 6,修订版 1
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
跳过“Google Inc. 的 Google API,Android API 6,修订版 1”;它取决于未安装的“SDK Platform Android 2.0.1, API 6, revision 1”。
下载 Google Inc. 提供的 Google API,Android API 6,修订版 1
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
下载 SDK 平台 Android 2.0、API 5、修订版 1
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
跳过“Google Inc. 的 Google API,Android API 5,修订版 1”;它取决于未安装的“SDK Platform Android 2.0, API 5, revision 1”。
下载 Google Inc. 提供的 Google API,Android API 5,修订版 1
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
下载 SDK 平台 Android 1.6,API 4,修订版 2
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
跳过“Google Inc. 的 Google API,Android API 4,修订版 2”;它取决于未安装的“SDK Platform Android 1.6, API 4, revision 2”。
下载 Google Inc. 提供的 Google API,Android API 4,修订版 2
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
下载 SDK 平台 Android 1.5、API 3、修订版 3
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
跳过“Google Inc. 的 Google API,Android API 3,修订版 3”;它取决于未安装的“SDK Platform Android 1.5, API 3, revision 3”。
下载 Google Inc. 提供的 Google API,Android API 3,修订版 3
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
下载 SDK 平台 Android 1.1,API 2,修订版 1
没有可用的缓冲区空间(已达到最大连接数?):recv 失败
下载 USB 驱动程序包,修订版 3
没有可用的缓冲区空间(已达到最大连接数?):recv 失败

我在“没有可用缓冲区空间(达到最大连接数?)”上进行了一些谷歌搜索,显然这是一个套接字问题,通常在调用数据库查询并且有一个大量 TCP 连接。

但除此之外我完全陷入困境。在我的问题上找不到任何与 Android SDK 安装相关的内容,而且我真的不知道在哪里可以继续安装 SDK。

先感谢您!


任何熟悉安装 Android sdk 的人,是否有其他方法可以下载其他 SDK 组件,然后使用 Android SDK 管理实用程序?

显然,我的系统中的某些内容与这位经理的配合不太好,但我完全被困在这里,真的很想继续前进..

再次感谢..

[屏幕截图] 可供下载的包: http://i45.tinypic.com/9igs48.jpg

--

安装错误: http://i50.tinypic.com/260fxox.jpg

I am trying to get my environment setup to develop an android app so I downloaded the SDK (http://developer.android.com/sdk/installing.html).
After unpacking the files and running the SDK Setup.exe, the Android SDK and AVD manager opens up.
During the installation process, I got an error stating the following:

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.

So then I proceed to the SETTINGS tab and activated the check box which states:

Force https://... sources to be fetched using http://

Then click save and apply. A box flashes on screen, which appears to be the previous box which showed the error, except this time, the progress bar races from 0 to 100% in about a second and then disappears. So clicking the FORCE option seemed to have worked for that issue.

Now, I click on the AVAILABLE PACKAGES tab which is where the Android manager actually downloads all the available resources including every "SDK Platform Android Vx.x" and every "Google API by Google Inc., API x, revision x"

There are green check marks in every check box indicating that I need to download every update.
SO I click INSTALL SELECTED.

The confirmation page comes up. Again, I click INSTALL ACCEPTED.

The INSTALLATION ARCHIVES box pops up and this is where I get stuck. I receive the following errors and I'm not sure what to do from here..

Downloading Documentation for Android SDK, API 7, revision 1
No buffer space available (maximum connections reached?): recv failed
Downloading SDK Platform Android 2.1, API 7, revision 1
No buffer space available (maximum connections reached?): recv failed
Skipping 'Google APIs by Google Inc., Android API 7, revision 1'; it depends on 'SDK Platform Android 2.1, API 7, revision 1' which was not installed.
Downloading Google APIs by Google Inc., Android API 7, revision 1
No buffer space available (maximum connections reached?): recv failed
Downloading SDK Platform Android 2.0.1, API 6, revision 1
No buffer space available (maximum connections reached?): recv failed
Skipping 'Google APIs by Google Inc., Android API 6, revision 1'; it depends on 'SDK Platform Android 2.0.1, API 6, revision 1' which was not installed.
Downloading Google APIs by Google Inc., Android API 6, revision 1
No buffer space available (maximum connections reached?): recv failed
Downloading SDK Platform Android 2.0, API 5, revision 1
No buffer space available (maximum connections reached?): recv failed
Skipping 'Google APIs by Google Inc., Android API 5, revision 1'; it depends on 'SDK Platform Android 2.0, API 5, revision 1' which was not installed.
Downloading Google APIs by Google Inc., Android API 5, revision 1
No buffer space available (maximum connections reached?): recv failed
Downloading SDK Platform Android 1.6, API 4, revision 2
No buffer space available (maximum connections reached?): recv failed
Skipping 'Google APIs by Google Inc., Android API 4, revision 2'; it depends on 'SDK Platform Android 1.6, API 4, revision 2' which was not installed.
Downloading Google APIs by Google Inc., Android API 4, revision 2
No buffer space available (maximum connections reached?): recv failed
Downloading SDK Platform Android 1.5, API 3, revision 3
No buffer space available (maximum connections reached?): recv failed
Skipping 'Google APIs by Google Inc., Android API 3, revision 3'; it depends on 'SDK Platform Android 1.5, API 3, revision 3' which was not installed.
Downloading Google APIs by Google Inc., Android API 3, revision 3
No buffer space available (maximum connections reached?): recv failed
Downloading SDK Platform Android 1.1, API 2, revision 1
No buffer space available (maximum connections reached?): recv failed
Downloading Usb Driver package, revision 3
No buffer space available (maximum connections reached?): recv failed

I did some googling on "No buffer space available (maximum connections reached?)" and apparently it is a socket issue that typically occurs when a database query is called and there are a large number of TCP connections.

But beyond that I'm completely stuck. Can't find anything on my issue relating to Android SDK installation and I don't really know where to turn to continue with the SDK installation.

Thank you in advance!


Anyone familiar with installing the Android sdk, is there an alternative way of downloading the SDK components OTHER then using the Android SDK management utility??

Obviously something about my system isn't playing nicely with this manager but I'm completely stuck here and really want to get going..

Thanks again..

[Screenshots]
Available packages for download:
http://i45.tinypic.com/9igs48.jpg

--

Installation errors:
http://i50.tinypic.com/260fxox.jpg

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文