Arduino 2.0.0 Errors on Linux and Windows system new installation

Hi, my english elementary my name luigi using linux ubuntu 22.04 LTS,
used arduino version AppImage. my video : - YouTube Problem. How to solved problem ? folder arduino and downloading board etc. Start in linux ubuntu installed last day.
Thanks.

Hi luigi.

I see there are two separate problems:

"Could not install Arduino AVR platform: Could not find platform" error on first run

https://youtu.be/feIdo2jSMdA?t=32

image

On the first run of a fresh installation, the Arduino IDE automatically installs the "Arduino AVR Boards" platform of the popular Uno, Mega, Leonardo, etc. boards.

You can see that around the same time the IDE is also downloading and verifying some index files. I believe what happens is that if there is a very specific timing of those two operations it bugs out and you get this error. I have encountered something similar, except with the libraries that are installed on the first run:

There is also a report of a similar problem that happened when updating libraries:

https://forum.arduino.cc/t/library-manager-is-empty/1002124/30

I hope the Arduino IDE developers will find a fix for this class of bugs, but the good news in this case is I see from the video that the process was successful the second time you started the IDE, so this is not something you need to worry about.

https://youtu.be/feIdo2jSMdA?t=64

image

"Invalid sketchbook location: /home/luigi/Arduino" error in Preferences dialog

https://youtu.be/feIdo2jSMdA?t=92

The sketchbook folder is used for the installation of libraries and is also a convenient location to save your sketches. The Arduino IDE 2.x does not currently create this folder automatically on startup. This bug is tracked here:

The developers have already prepared a fix, which will be in the next release. But for now you should simply create the folder by following these instructions:

  1. If you have the "Preferences" dialog open in the Arduino IDE, click the "CANCEL" button.
  2. Create an empty folder at this path:
     /home/luigi/Arduino
    

You can use your file manager program to create that folder, or run this command from the command line terminal if you prefer:

mkdir /home/luigi/Arduino

Please let us know if you have any questions or encounter any other problems.

Nice video but no audio on my end.

refresh system all my format ubuntu and reinstallation .. my use appimage on new installation.
New errror:

Sorry 1video error my delete from chanel

I see the installation of "Arduino AVR Boards" failed the first time, but then it passed the second time you started the Arduino IDE.

Excellent work on creating the sketchbook folder.

So I think everything is fine now. Let us know if you have any other problems. Otherwise, enjoy!

Per

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