I need to prevent Arduino IDE 2.x from checking for library updates

Hi,

I'm using an old version of some libraries in one of my projects and I'd like to keep it that way. Whenever I start Arduino Studio it asks me to upgrade them. I have to click "remind me later" every time and if i accidentally click upgrade it will break my code and I have to downgrade the libraries manually.

Is there a solution around that?

Thanks

For Windows:

  1. Press the F1 or the Ctrl+Shift+P keyboard shortcut .
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
    A "Preferences" tab will open in the Arduino IDE main panel.
  3. Type arduino.checkForUpdates in the "Search Settings" field of the "Preferences" tab.
  4. Untick the checkbox to prevent the IDE from checking for updates.
  5. Close the Preferences tab by clicking its X icon.

Please note that it will now become your responsibility to check for any updates after un-ticking the checkbox.

2 Likes

See IDE 2.0.3 popups - #2 by ptillisch

You can always manually check for IDE updates via the help menu in the IDE. You can also manually check (both IDE and libraries) using the advanced setting; type update and take your pick.
image

Forgot to mention that I'm using Arduino IDE on Mac.

You can create a folder named "src" in the same folder as the sketch, and put a copy of the older version of the library in that folder. That would require changing the #include to "src/library folder/library header file"

Same thing.
Simply use the Command+Shift+P keyboard shortcut (I think :wink:).

2 Likes

Thanks, but I'm trying to disable the auto check for updates the IDE does every time you open it.

So basically include the libraries manually?

Could you fix your code to prevent the errors with the updated libraries ?

Which libraries are you having trouble with ?

The two that break the code are: ArduinoJson, SD.
I know I can update my code I just don't want to have to do it now.

Thanks

I know that; the link that I gave and the reply by @Willem43 just before that give you the answer. I added the additional information how you can still check if needed.

1 Like

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