0

I am trying to use this library. But when I try to import the .zip file (of the directory) downloaded from GitHub, Arduino IDE says "Specified folder/zip file does not contain a valid library"

1
  • This problem really annoying. i can't add any library except from Arduino ide it self. even the most common library not even work, it seems to be a glitched or something.
    – Aimless
    Jan 16, 2019 at 6:02

1 Answer 1

3

That's because it contains two libraries, and the IDE doesn't know how to handle that.

Because of this repository structure, you will need to do a manual installation.

Extract the zip file manually and copy the libraries folder into your Arduino sketchbook folder. You can find the location of your sketchbook folder in the Arduino IDE at File > Preferences > Sketchbook location.

2
  • To be more exact: Copy the content of the libraries folder into the Arduino/libraries folder in your system
    – chrisl
    Jun 13, 2018 at 10:24
  • @chrisl Nah - just copy the folder. If it doesn't already exist it will do after copying it. If it does exist the OS will just merge the folders together, effectively copying the contents.
    – Majenko
    Jun 13, 2018 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.