The ultimate solution to Android's inability to generate R files
Source: Internet
Author: User
Today, from SVN to check out the project, the project files have been error, r files can not be generated, so began to inventory;
R files if you are in the Clean Project (Project->clean) and Fix project Properties (such as):
Can not solve the time, the only reason is the resource file call errors, such as resource file naming is not standardized, redundant resource references, and sometimes difficult to troubleshoot, which requires cautious.
What I met today is relatively simple, with the V_7 jar package in the new project, and all the activities are integrated with actionbaractivity, but I will need another project (the project supports a minimum of 4.0 systems, so there is no need to v_ 7) copied to the new project and did not modify the V_7jar package, resulting in redundant references, and then I deleted the SRC menu folder and all the actionbaractivity are modified to the activity is done;
If none of the above methods apply to you, then maybe you are checking out the project from SVN, there is a point where the SVN checkout does not have a corresponding Build target selected the project right-click->properties->android to see your projects build Is there a target in target or is the file referenced in your library missing?
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