Android Development Import Common errors

Source: Internet
Author: User
Android Development Import Common errors

1, the SDK version does not correspond, you can open the Project.Properties file in your project, modify the target=android-18 (I This is 18), change 18 to 14 (others can), and then change back to 18 will reload, it is best to clean the project.

Sometimes there is no R file, that is because your XML file is wrong, for example: more than a comma and so on

2, V4 package does not correspond, re-import your current environment V4 package 3, such as reference to the project type lib, right-click on the project-->properties-->android--> see if the project was introduced, check whether the is Library4, Styles.xml file error, may have used a higher version of the style, download the high version or change the style to low version 5, due to coding caused by garbled program errors, see if the error code contains garbled 6, due to the jar package error, right-click Project-->bulid path--> CFG Bulid Path checks if the jar package is an error and is added again.

7, can also clean project, fix project

Android Development Import Common errors

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.