How to handle the "No projects are found to import" error when Eclipse imports a Java project, eclipseprojects

Source: Internet
Author: User

How to handle the "No projects are found to import" error when Eclipse imports a Java project, eclipseprojects

When using Eclipse to import a Java project, the "No projects are found to import" error often occurs (especially when importing a project downloaded from the internet). This is because there is No such project in the folder. project and. classpath.

 

The solution is simple:

1. Copy these two files from other Java Projects

 

2. Modify the file. The. classpath file does not need to be modified. The. project only needs to modify the name attribute.

 

3. Save and import again. There is No "No projects are found to import" error.


Why is No projects are found to import referenced by java?

Because there is no directory under your project. project and. as for how to guide these two files, I think you can create a project first. The project name is the same as the name of the project you want to import. The project directory contains the above two files, copy the above two files to the project directory you want to import, delete the project you created earlier, and then import the files. It's just a theoretical assumption. You can try it if there is no actual operation.

Android import project error (No projects are found to import) how to do

Create a new project with the same name, replace src, res, and AndroidManifest. xml in 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.