Android Studio FAQs

Source: Internet
Author: User

1. An error occurred when importing their project with R fileThe first thing we need to know is that Android Studio is based on the Gradle compilation mode, there is no Gen directory in the internal R file, but since it reported this error, there must be a reason. That is, Gradle compile error.
for each gradle will have its own compiled version of the Gradle, for different versions of Android studio and users may have different gradle, so when you are like someone else's project, Atudio back first compared to your local gradle and the original author's gradle version is the same, if the same can be directly bulid compile, if the version is not correct, it will automatically download the corresponding Gradle version. Of course in the celestial process is very slow, unless you have set up a proxy or buy a ladder, it is likely to fall in this step.
below I say a can use agent (red apricot)
as for how to set up, we own Baidu


Once the setup is complete, the download will be quick.
2.Android Studio is slow every time you run a project
Click Preference-->bulid-->gradle to select Offine work. This means working offline without having to check all the configuration information in Gradle ' (such as multi-channel packaging, obfuscation, etc.) every time Gradle .




Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android Studio FAQs

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.