Hi, I am running a portable version of Arduino IDE 2.3.4 on Windows 10. In File > Preferences, I have custom Sketchbook location set to D:\Arduino\sketch folder. I have saved several libraries to a D:\Arduino\sketchylibraries subfolder. And I have expexted the IDE to find them in this subfolder, as the documentation says so: "Libraries installed with the Library Manager are stored inside a Sketchbook subfolder:".
However, if I run Library Manager Manage Libraries and filter libraries by setting the Type to Installed, no library is shown.
Moreover, if I install a new library using Library manager, the new library is stored to a completely diferent location: %USERPROFILE%\Documents\Arduino\libraries.
Why isn't the new library instaled to D:\Arduino\sketchylibraries ?
Thank you.
I was not aware that IDE 2.x supported a portable installation. Is that a recent change ?
Is that a typo? Should be D:\Arduino\sketch\libraries.
But that will not solve the problem that libraries still seem to be installed in %USERPROFILE%\Documents\Arduino\libraries.
Note:
There is, to my knowledge, no portable install of IDE 2.x, only a ZIP install.
Hi @milanbx.
The Arduino IDE Library Manager is only used to manage the libraries that are distributed via Library Manager. So if you install libraries via another mechanism ("Add .ZIP Library..." or manual installation), and those libraries are not in the Library Manager index, then it is expected that you won't see those libraries in Library Manager.
I'm going to ask you to provide some additional information that might help us to identify the problem.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Select File > Quit from the Arduino IDE menus if it is running.
All Arduino IDE windows will close. - Start Windows "File Explorer".
- Open the Arduino IDE installation folder.
ⓘ The default installation location is at one of the following paths:-
C:\Program Files\Arduino IDE -
(whereC:\Users\<username>\AppData\Local\Programs\Arduino IDE<username>is your Windows username)
If looking for it with your file manager or command line, note that the AppDatafolder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
-
- In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
A context menu will open. - Select "Open PowerShell window here" from the menu.
Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder. - Type the following command:
& ".\Arduino IDE" - Press the Enter key.
Debug output should now be printed to the PowerShell window as Arduino IDE starts. - Wait for Arduino IDE to finish starting.
- Use the Arduino Library Manager to install any library.
- Verify that the library was not installed under the
librariessubfolder of your configured sketchbook location. - Switch back to the PowerShell window.
- Press the Ctrl+Shift+A keyboard shortcut.
This will select all the text in the PowerShell window. - Press the Ctrl+C keyboard shortcut.
This will copy the contents of the PowerShell window to the clipboard. - Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
- Press the Ctrl+V keyboard shortcut.
This will paste the output into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the "Reply" button to post the output.
Please let me know if you have any questions or problems while following those instructions.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
