Android development issues

Source: Internet
Author: User

Recently do Android development, encountered a problem, is to import local or remote projects, there will be a large number of errors, mainly can ' t resovled, and then the whole project is a mistake, this problem plagued me for a long time, today finally found the reason.

There is a typical feature, you will find that the Gen file is empty, that is, there is no R file, so that the control can not find the path, the reason is--------> import Project when the import Error!!!

When importing a project, selecting Import->general->existing Project and then importing will result in an error, and we are importing an Android project, so you must select Import->android->existing Android project, and then find the Gen file correctly imported, then it's OK

I don't know if I'm the one who committed this stupid mistake, everybody warning it ....

Android development issues

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.