i am unable to upload my code to my arduino uno board due to library error

the error message is:
Sketch uses 5054 bytes (15%) of program storage space. Maximum is 32256 bytes.
Global variables use 233 bytes (11%) of dynamic memory, leaving 1815 bytes for local variables. Maximum is 2048 bytes.
Invalid library found in C:\Users\User\Documents\Arduino\libraries\sketch_apr21a: no headers files (.h) found in C:\Users\User\Documents\Arduino\libraries\sketch_apr21a
Invalid library found in C:\Users\User\Documents\Arduino\libraries\sketch_apr21a: no headers files (.h) found in C:\Users\User\Documents\Arduino\libraries\sketch_apr21a

thank you for the help

You need to post the program that caused the errors.

By the way, this is a compiling problem, not an uploading problem. A program must compile without errors before it can be uploaded.

...R

Looks like the code actually compiles, then you are getting the invalid library messages for what looks like a sketch file saved in the libraries folder.