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 folder inside the R file, but since it reported this error. There must be a reason for that. That is, Gradle compile error.


for each gradle there will be a gradle of its own compiled version number. For different Android studio version numbers and users may have different gradle, so when you like someone else's project, Atudio back to your local gradle and the original author's gradle version number is the same, assuming the same can be directly bulid compile , assuming that the version number is incorrect, it will download the corresponding Gradle version number on its own initiative. Of course in the celestial process is very slow, unless you have set up a proxy or buy a ladder. Otherwise it is very likely to fall in this step.


below I say a can use agent (red apricot)
as to how to set. Baidu is our own


after the setup is complete, the download will be very fast.
2.Android Studio is very slow to execute every project
Click Preference-->bulid-->gradle to offine work to tick it. This means working offline without having to check all the configuration information in Gradle ' (such as multi-channel packaging, obfuscation, etc.) every time Gradle .




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.