arduino ide doesn't find libraries, although they are in the sketch folders

Hi, I've been using the arduino ide for years, but the libraries keep giving me troubles from time to time.

I use a sketch folder location on a cloud drive, where I also store my libraries under the 'libraries' location.

For some reason, I don't know it's was because of IDE upgrade, or missing internet connection; I saw the IDE reverted to the sketch folder location on my local hard-drive. It also lost the 'additional boards manager url's', and reverted the 'board type' to Arduino UNO

After re-setting the sketch folder location to the cloud drive location again, none of my sketches find their libraries, although I see them via the file explorer in the 'libraries' folder on my cloud drive.

I'm not keen on re-installing fresh libraries via the library manager, since some libraries have been altered (pin numbers and so) to fit my projects.

I also just changed from the windows-installer version to microsoft-store version, I don't know if this has anything to do with it?

I'm in trouble, please help...

Just as an experiment, try the "Windows ZIP file for non admin install" version of the Arduino IDE from the download page. That doesn't do any sort of installation, so it won't mess with your installation of the Microsoft Store app version of the IDE.

If the libraries are correctly detected when using the non-app version of the IDE, that points to it being something specific to the app. If not, it may be related to something that changed between the version of the IDE you were using before. You can also check that by testing your previous version, which is available from this page:

Hi Pert, I tried running the store app as administrator; I cannot select the cloud drive when trying to select the sketch folder. I tried the same with the windows installer version, identical problem. I also tried the zipped version, there I can find the clouddrive, but there doesn't seem to be an entry field for alternative board url's...

TLS1000:
I also tried the zipped version, there I can find the clouddrive, but there doesn't seem to be an entry field for alternative board url's...

Which version number does it show at the top of the Arduino IDE window or the top of the Help > About popup?

ok, I found the problem:

when specifying the sketch folder location, I was one level too deep:

  • I specified: 'U:\My Documents\Arduino\sketches'
  • it should be: 'U:\My Documents\Arduino'

Both the microsoft store version as the windows installer version find my libraries, crisis averted.

pert, thank you for helping out.

I'm glad to hear you found the problem. Thanks for taking the time to post an update with your solution. Enjoy!