user47281: 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"

user4143: 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.

47281: <p>I am trying to use <a href="https://github.com/mikedotalmond/arduino-pulseInWithoutDelay" rel="nofollow noreferrer">this</a> 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"</p>
 4143: <p>That's because it contains <em>two</em> libraries, and the IDE doesn't know how to handle that.</p>

<p>Because of this repository structure, you will need to do a <a href="https://www.arduino.cc/en/guide/libraries#toc5" rel="nofollow noreferrer">manual installation</a>.</p>

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