In Eclipse: Go to the βFileβ menu β βOpen Fileβ β find the βProjectβ directory in the workspace β select the .classpath openit file β
Keep only below entries in this file and delete all others
`<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="lib" path="your dir path without space.../extras/android/support /v4/android-support-v4.jar"/> <classpathentry kind="output" path="bin/classes"/> </classpath>
Save the file. then in Eclipse-> Package Explorer β right click Project β Android tools β Fix Project Properties.
This will add all the necessary files for the project if you want to cross-check the .classpath file and check for updates in it.
Run the project successfully :)
source share