Ubuntu Android Studio Download SDK

Source: Internet
Author: User

Due to various reasons in the Celestial kingdom, the Android SDK cannot be downloaded. There are all kinds of HTTP proxy methods on the Internet, but setting in the SDK manager is not found in the Ubuntu environment, so we will write the configuration to the configuration file:

Create File ~/.androidtool.cfg

Add the following content to the file:

 for Android toolhttp.proxyport=sdkman.monitor.density=108Http.proxyhost =Mirrors.opencas.cnsdkman.show.update.only=truesdkman.ask.adb.restart=  FalseSdkman.force.http=truesdkman.show.updateonly=true

Note:

http.proxyHost  ,http.proxyPort 就是下面镜像地址与端口
Android SDK Update mirror server online
    1. Open Source Association of CAS image station address:

      • Ipv4/ipv6: http://mirrors.opencas.cn Port: 80

      • Ipv4/ipv6: http://mirrors.opencas.org Port: 80

      • Ipv4/ipv6: http://mirrors.opencas.ac.cn Port: 80

    2. Shanghai GDG Mirror server address:

      http://sdk.gdgshanghai.comPort: 8000

    3. Beijing University mirror server address:

      • IPV4: http://ubuntu.buct.edu.cn/ Port: 80

      • IPV4: http://ubuntu.buct.cn/ Port: 80

      • IPV6: http://ubuntu.buct6.edu.cn/ Port: 80

    4. Dalian Neusoft Institute of Information Mirror server address:

      http://mirrors.neusoft.edu.cnPORT: 80

Once you have created the file, you can then go to the SDK Manager to download

Ubuntu Android Studio Download SDK

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.