Duplicate libraries while compiling for ESP32 in the Arduino IDE
#include "filename.h" will look in the sketch folder

#include &lt;filename.h&gt; will look in the path, defined in File | Preferences, edit preferences.txt, search for sketchbook.path