Issue
I have several Android projects in Eclipse, and all is fine, except one (a library) that can not resolve any imports.
The java.io imports do resolve fine in other Android projects in the same workspace, and previously (I haven't used it for over a year) this library worked fine, too.
Any ideas?
Solution
Check two things
Eclipse preferences
- Check your Eclipse preferences:
Java
->Installed JREs
- The one that you're using should be marked and it should be a JDK not just a JRE.
Project build path
- Also check your project's build path: Right click on the project ->
Properties
->Java Build Path
- Check in the
libraries
folder whether the JRE System Library is present and ... - If not add it using
Add library
->JRE System Library
and then select the correct one (from an installed JDK).
Answered By - 1218985
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.