Please follow the instructions at http://code.google.com/p/libgdx/wiki/ProjectSetupNew