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.