motorshield.h not detected even after downloading all the relevant libraries

Please give exact details of how you installed this motor shield library. "downloading the library through the sketch option" is way too vague.