When importing existing projects into Eclipse on Android, the library cannot be loaded only if Copy to Workspace is checked.

Asked 2 years ago, Updated 2 years ago, 37 views

Why can't I read the library only when I check Copy to Workspace when I import existing projects into Eclipse on Android?
"·Do I have to specify ""external jar"" or ""pass"" or ""something"" for ""project"" somewhere?"

android

2022-09-30 17:52

2 Answers

If you have a library in the relative path of an existing project, you must reconfigure the path.
Check the Android section of the project properties and the Java Build Path.


2022-09-30 17:52

Right-click the project → Properties → Android and select the library that does not have a green check and delete it.
Then click Add to read the library again.
Enter a description of the image here

Note: https://stackoverflow.com/questions/5167273/in-eclipse-unable-to-reference-an-android-library-project-in-another-android-pr


2022-09-30 17:52

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.