Hello Pert sir thank you for your reply I tried doing what you said the invalid library error is gone but the other one still exists .I have also tried adding a zipped library but when I'm adding that I'm getting the error that "Specified folder/zip file does not contain a valid library".
is there any other way to fix this sir.