Import someone else's Android project, prompting/libs/gen already exists but was not a source folder. Convert to a source folder or rename it

Source: Internet
Author: User

Workaround:

Workaround for this problem:

1. Right click on Project and select "Properties"

2. Select "Java Build Path" on the Left

3. Open the "Source" tab panel

4. Click "Add Folder ..."

5. Tick the "Gen" folder, click OK, click Yes, then click OK

6. Finally right click on the project and select "Fix Project Properties" in "Andriod Tools"

This problem occurs because of an error in the CLASSPATH file, which exists at the root of the project and is automatically generated by Eclipse, which defines the $classpath that you use when compiling your project, and generally does not require manual configuration. If an error occurs, you can also modify it manually:

Import someone else's Android project, prompting/libs/gen already exists but was not a source folder. Convert to a source folder or rename it

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.