Multiple libraries were found for …

  • Arduino
  • ESP32

You may see

Multiple libraries were found for "LiquidCrystal_I2C.h"
Multiple libraries were found for "Servo.h"
Used:
Not used:

Why it happens

  • The same library is installed twice, or two different ones share a file name.

How to fix it

  1. Read the Used line: is that the library you wanted?
  2. If the sketch compiles and works, ignore the message.
  3. If not, close the IDE and delete the unwanted folder from Documents/Arduino/libraries.

It worked if: The Used line names the right folder.

From the official documentation. Arduino IDE's own wording. Sources: Arduino CLI: library resolution.

Didn't help? Search another error or ask us.