Import items in eclipse currently have red Fork tips but the project content does not error resolution

Source: Internet
Author: User

In Eclipse, the Android project name has a red fork in front of it, but all files within the project are error-free, usually when importing the project.

You can go to see the output of a few windows, different error logs to use different methods, flexible use of various methods.

1> Menu Path----window/show view/console

2> Menu Path----window/show view/error Log

3> Menu Path----window/show view/problems

Common ways to exclude red forks:

1> project is removed from the project list (not deleted from disk) and re-imported once

2> Project First Clean/refresh, and then recompile

3> Delete Project Gen directory and recompile again, or remove R.java and recompile

4> See res directory in the resource file there is no error, the image format is supported, Main.xml+strings.xml have no grammatical errors or write errors

5> See if there is a syntax error or a writing error in the configuration file Androidmanifest.xml+default.properties+proguard.cfg file

6> Select project/properties use the Fix Project Properties tool in the Android Tools menu to revise

7> Select the project/attribute to see if there is a problem with the configuration of your project, such as the SDK package not selected, or the library path is wrong, or the library file does not exist, or the environment variable is not configured, etc.

8> Save the works of the *.java file, on this basis to re-establish a new project

9>error Generating final Archive:debug certificate expired on date solution

Entry: C:\Documents and settings\administrator\.android Delete: Debug.keystore and ddms.cfg re-open Eclipse, the time-period issue of what is involved in a private key

As an example:

For example, after I import the project, the contents of the file are not various errors but before the project package there is a red fork, first I read (1> menu path----window/show view/console)

Tip: Project has no project.properties file! Edit the project properties to set one. Workaround: Find the Project.Properties file in the project and find that the # project target target=android-8 is not the same as the version of the SDK that was compiled, this time changing to create the project is the SDK version without the Red Fork.

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.