Invalid Library Found, No header found

I have been trying to install this keypad library for my engineering project, and was unsuccessful going to sketch-manage libraries-then installing it there. I was able to install the keypad file directly from arduino and put it in the libraries file, but continue to get the statement that an invalid library is found, no headers files even though the Keypad.h appears in orange text. This is my code

#include <Keypad.h>

#include <Servo.h>

const byte ROWS = 4; //four rows
const byte COLS = 4; //four columns

char hexaKeys[ROWS][COLS] = { //define the symbols on the buttons of the keypads
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};

byte rowPins[ROWS] = {9, 8, 7, 6}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {5, 4, 3, 2}; //connect to the column pinouts of the keypad

Keypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); //initialize an instance of class NewKeypad
byte value = 0; // Will not go above 255 using byte identifier - use int for higher
char customKey = 0;

Servo myservo; // create servo object to control a servo

void setup(){
Serial.begin(9600);
myservo.attach(10); // attaches the servo on pin 11 to the servo object
}

void loop(){
customKey = customKeypad.getKey(); //check keypad for input
if (customKey != NO_KEY) //If any key is pressed
{
if ((customKey >= '0') && (customKey<='9')) //Only valid for number keys
{
value = value*10; //First time through is zero then multiply by ten for each input
value = value + customKey - '0'; //CustomKey input is ASCII - zero is 48, one is 49, etc. Subtract ASCII zero to get to decimal zero
}
if(customKey =='#')
{
Serial.println(value);
myservo.write(value); // tell servo to go to position in variable 'pos'
value=0; //reset value once it is printed
}
} }

I continue to receive this message: Invalid library found in C:\Users\John Wagner\Documents\Arduino\libraries\arduino_937615: no headers files (.h) found in C:\Users\John Wagner\Documents\Arduino\libraries\arduino_937615
Invalid library found in C:\Users\John Wagner\Documents\Arduino\libraries\arduino_983352: no headers files (.h) found in C:\Users\John Wagner\Documents\Arduino\libraries\arduino_983352
Invalid library found in C:\Users\John Wagner\Documents\Arduino\libraries\Keypad: no headers files (.h) found in C:\Users\John Wagner\Documents\Arduino\libraries\Keypad

The invalid libraries don't do any real harm, so you can ignore those messages if you like.

The messages are annoying though. If you want to get rid of them, delete the following folders:

  • C:\Users\John Wagner\Documents\Arduino\libraries\arduino_937615
  • C:\Users\John Wagner\Documents\Arduino\libraries\Keypad

Please be very careful when deleting things from your computer. When in doubt, back up!