fix javacomplete and add android support