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
I've faced this issue a couple of times and following the below steps has resolved both the times. 1. Navigate to C:\Users\ 2. locate the ".m2" folder and delete it.
wait until the project is updated and in my case following the above steps resolved both the times.
This works for me: close the project then re-open it, this will force eclipse to see it as a fresh project and detects a correct build path.
For my mac osx Eclipse, I followed following steps:
get a cmd and run
mvn eclipse:eclipse
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 .
This is what worked for me:
~/.m2/repository
and deleted everything there by running rm
-rf
. Make sure everything is deleted.