Arduino uninstalled all libraries


Something strange happend today, all libraries seems to be un-installed. In the picture below i show you the folder with all my installed libraries

In the following picture u can see the MKRNB is somehow not installed

Everything was working fine before, someone got an idea what might be causing this?

Thanks in Advance!

Hi @hubanl. Open File > Preferences from the Arduino IDE menus and check to make sure the "Sketchbook location" preference is set to that Arduino folder that is the parent of the libraries folder you showed in your screenshot. The Arduino IDE looks for the libraries in the libraries subfolder of the sketchbook folder, so if you change your sketchbook location preference then it will no longer recognize the libraries you installed before with the previous sketchbook location..

1 Like

Thanks, solved! Still strange it changed the preferences location without my knowledge.

You are welcome. I'm glad to hear it is working now.

I don't have any idea why it would have changed on its own, but at least now you will know the trick in case you run into a problem like that in the future.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.