Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The project cannot be built until build path errors are resolved [duplicate]

While compiling an android project in eclipse 3.4.2, I am getting The project cannot be built until the build path errors are resolved.

I got a temporary solution from the blog http://www.scottdstrader.com/blog/ether_archives/000921.html

The resolution was to force a resave of the selected projects (and their .classpath files):

  1. Open the project properties
  2. Select Java Build Path > Libraries
  3. Add a new, arbitrary library (to be deleted later) > OK
  4. Wait for the workspace to refresh (or force a refresh of the project)
  5. The error(s) will go away
  6. Remove the dummy library

The only other references I could find were to make minor alterations of contents of the .classpath file.

Is there any permanent fix for this issue?

like image 594
yokks Avatar asked Aug 17 '26 09:08

yokks


2 Answers

Have you tried using Project > Clean... from the menu? This will force a new build on the selected projects in Eclipse.

like image 185
TK Gospodinov Avatar answered Aug 20 '26 03:08

TK Gospodinov


1-Right CLick on your project folder, Choose Build Path > Configure Build Path
2-Select Libraries Tab and delete any arbitrary library present there.
3-Click on Add Library option, Select JRE System Library and click Next.
4-Choose last Radiobutton option Workspace default JRE and click Finish.
5-press f5 for refresh.
6-run ur program .
like image 28
user2318214 Avatar answered Aug 20 '26 04:08

user2318214



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!