Invalid library entries in 1.8 possibly caused by V 2.0

While (apparently successfully) loading a sketch in 1.8.19 I had a message some 'invalid' libaries had been found. I believe these are somehow related to my trying v 2.0 recently. And to

Here's a list of the 'package prefixed' entries.
Although a few have several levels of subfolder, there are no files in any of them.

package-1299926827
package-1595660698
package-1636371851
package-1825857911
package-1890856667
package-2692066312
package-3393865924
package-3839434459
package-56553644

You are correct. Arduino IDE 2.x/Arduino CLI extract the downloaded library archive to a folder with a name of this format before finally moving it to the target folder name.

My suspicion is that your antivirus software does an "on access"/"real time" scan of these folders when they are created, which interferes with the library installation process. You may be able to avoid this by adding the relevant process or path to the "allow list" of your antivirus software.

Thanks. The latest spurious addition to \libraries is package-1595660698, empty, and duly deleted.

If this section of Win 10 settings is what you mean, can you suggest an entry I could try please?

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