[Android] Android SDK Manager cannot be updated in Eclipse. Solution: [Use GoAgent) and androidgoagent

Source: Internet
Author: User
Tags goagent android sdk manager

[Android] Android SDK Manager cannot be updated in Eclipse. Solution: [Use GoAgent) and androidgoagent
Cause

Use Eclipse for Android development. When ADT (Android Deveopment Tooling) is installed) later (refer to the previous article "two solutions to failed installation of ADT [Android Development Tooling] in [Android] Eclipse"). Next we will encounter the problem that the Android SDK Manager cannot be updated normally, because of the GFW relationship, there is no direct access to the https://dl-ssl.google.com, which is a little more serious than updating the ADT. In the previous article, we set the proxy http: // 127.0.0.1: 8087 To Go To The GoAgent to update the ADT address. Here, we encountered a new problem, as GoAgent starts from version 3.1.x, the following error occurs during https: // or SSL access:

Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert certificate unknown')]

As a result, the Android SDK Manager cannot be updated normally.

 

In the past, it was possible to do this, that is, in the Android SDK Manager, select Options... from the menu Tools, and set as follows (see the single option of REDLINE ):

 

 

Http: // is mandatory instead of https: //. However, due to the new version of GoAgent (v3.2.3), this error is reported and cannot be updated.

 

Use VPN or other scientific Internet updates

Since the normal update and use of GoAgent are not feasible, we can think about the scientific method of surfing the Internet. Here we found an article: "Android sdk manager cannot update solution", which uses XX software, I also went to the Internet to download the latest version of a certain portal, and set it up to download it, but the speed is a little slow, as shown below:

 

 

The speed is about 10-40 KB/s, and the update can be updated, but think about how many software packages to update and download to the monkey year, Ma Yue, so we have to find another way, if you have a fast and free VPN, I will not say anything.

 

Solve the GoAgent Problem

Since the GoAgent reported an error, we tried to solve the problem. It was not very easy to find. I didn't find it at first, but after reading the download speed above, I decided to solve it. Failed to find the cause and solution. For details, see: Issue 17951: sslv3 alert certificate unknown and Issue 17116: The GAE agent cannot be used to upgrade Android SDK. The solution is as follows:

 

Android SDK 3.2 can be updated by adding the following configuration under [profile] In proxy. ini:
Dl-ssl.google.com = nocrlf, noforcehttps, nofakehttps

 

Note: There is a premise that you must ensure that the CA certificate of the GoAgent has been imported (after you have updated the GoAgent on the gae or the version of the local GoAgent, you may need to re-import the certificate). For more information about the import method, see the introduction in Issue 17951 or Google.

The specific cause of this error is unknown. From the literal meaning of the solution, nocrlf (no carriage return line break), noforcehttps (https is not mandatory ), nofakehttps (do not use/do not allow false https ). Now it is easy to implement, as shown below:

 

 

More than 500 KB/S is basically the limit speed of my bandwidth. It is not bad. Although GoAgent may slow down in some cases, the speed is still acceptable in most cases. It is free of charge, I am very satisfied.

 

Solve the problem and hope to help you.

.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.