If the Payeli solution does not work, you can right-click the joystick and add it to the build path using Build Path -> Add to build Path . This will include your jar file in the build path.
Another solution would be to right-click on the project and select Android Tools->Fix project properties . This option will show you the best possible solution to the problems with building the path.
source share