Description
Using Arduino IDE 1.8.11 Hourly Build 2020/02/07 07:33 with Windows 10 64 bits and Ubuntu 19.10
- Sketch > Include Library > Add .ZIP Library...
- Select a folder containing a library you want to install.
- Click the "Open" button.
Expected behavior:
The library is installed.
Actual behavior:
The selected folder is opened in the "Add .ZIP Library..." dialog.
Perhaps the ability to install libraries from folders via "Add .ZIP Library..." is not an official usage of that feature, but it is very useful.
In order to install a library from a .zip file, the library must be in the root of the .zip file, not in a subfolder. But sometimes library .zip files are not structured this way (e.g., https://github.com/RobTillaart/Arduino, https://github.com/jrowberg/i2cdevlib).
The alternative is a manual installation, but beginners often have a difficult time correctly installing libraries manually, and many have almost no experience working directly with the file system.
"Add .ZIP Library" is great because it's easier to use, and ensures the library is correctly installed.
The issue also occurs with Arduino IDE 1.8.11 Hourly Build 2020/02/05 06:33.
The issue does not occur with Arduino IDE 1.8.11.
I suspect the changed behavior was caused by 7cb1440