Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

No longer possible to install libraries from a folder using "Add .ZIP Library" #9733

Closed
Labels
Component: IDEThe Arduino IDE OpenJDKIssues to be verified once OpenJDK (AdoptOpenJDK) is implemented Type: Bug Type: RegressionSomething that used to work and now doesn't
Milestone
@per1234

Description

Using Arduino IDE 1.8.11 Hourly Build 2020年02月07日 07:33 with Windows 10 64 bits and Ubuntu 19.10

  1. Sketch > Include Library > Add .ZIP Library...
  2. Select a folder containing a library you want to install.
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: IDEThe Arduino IDE OpenJDKIssues to be verified once OpenJDK (AdoptOpenJDK) is implemented Type: Bug Type: RegressionSomething that used to work and now doesn't

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /