Gen already exists but is not a source folder. convert to a source folder or rename it.
After SVN updates the project ~ The above error.
Solution:
1. Right-click the project and select "properties"
2. Select "Java build path" on the left"
3. Open the "Source" tab.
4. Click "add folder ..."
5. Check the "gen" directory, click OK, click yes, and then click OK.
6. Right-click the project and select "Fix Project Properties" in "andriod Tools"
Cause of error: the classpath file has an error. This file exists in the root folder of the project, which is automatically generated by eclipse and used by the project during compilation.
The file is located in the project root folder. classpath
<?xml version="1.0" encoding="UTF-8"?><classpath><classpathentry kind="src" path="src"/><classpathentry kind="src" path="gen"/> <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/><classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/><classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/><classpathentry kind="output" path="bin/classes"/></classpath>
NOTE: If it is missing
<classpathentry kind="src" path="src"/>
The project and folder structure will change,
This may cause a problem: the project cannot be executed normally and an error will be reported: the class path cannot be found.
No. Try it on your own.