Android Development-android Studio uses problem solving

Source: Internet
Author: User

Looking back, a long time did not update, to its cause, or lazy cancer attack, but life and rest rule, almost every day at 11 points before resting. Today take advantage of training, using Android Studio, to find several pits:

1, Android Studio every time prompted a new version, click to jump to Google's wall page, cannot download. The solution is nothing more than two, one is the next most updated to cover the installation (http://www.android-studio.org/), and one is to fix the current version (1.5) by the online method of some configuration (http://www.linuxidc.com/ linux/2015-02/113265.htm): First modify the hosts dl.google.com, Dl-ssl.google.com Point, and then modify the Android Studio\bin directory studio.vmoptions. Not until this method comes into effect, I've solved it in the first way. It's not the best method, but it's the easiest way, after all, it's not a daily upgrade.

2, the new version (2.1.2) first start very slow, the original is to update the Gradle online, take the manual download required version (https://services.gradle.org/distributions), put in the corresponding directory and restart Android Studio can. There is a similar gradle-1.10-all/6vpvhqu0efs1fqmqr2decq1v12 directory under ~/.gradle/wrapper/dists/, which is the corresponding Gradle version.

Android Development-android Studio uses problem solving

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.