I just installed the IDE 2.2.0 over 2.1.1 after the IDE asked me to do so on start. I agreed and now all my libs are gone. You are kidding, right?
What is the path to your Sketchbook folder in File/Preferences and is that where your sketches (and libraries folder) are located ?
Hi @UKHeliBob,
the path is c:\Users\MY_DOMAIN_USERNAME\AppData\Local\Programs\Arduino IDE.
My Scripts reside in a different folder, but the libraries are there.
That looks like a very odd Sketchbook path
In order for your libraries to be found the sketchbook path must match that of where your libraries folder is located unless you use an explicit path to your libraries when #including them in a sketch
Hi @msr_chris. I'm sorry to hear you lost all your libraries.
You should never store anything under the Arduino IDE installation folder. As you learned, any files you put there will be lost when you update the IDE.
Please change the location of your sketchbook folder to a safe location:
- Select File > Preferences... from the Arduino IDE menus.
The "Preferences" dialog will open. - Click the "BROWSE" button to the right of the "Sketchbook location" field.
The "Select a new sketchbook location" dialog will open. - Select any folder that is not under the Arduino IDE installation folder and is not otherwise in danger of automated deletion.
- Click the "Choose" button.
The "Select a new sketchbook location" dialog will close. - Click the "OK" button in the "Preferences" dialog.
You can now proceed to reinstall any missing libraries you still need. You will find the Library Manager the most convenient way to do that:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.