"Hi, due to a recent bug on the Arduino IoT Cloud affecting serial ports, I'm now using the Arduino IDE for Thing development. However, when I download a sketch from the IoT Cloud and run the program, it gives an error. Can someone help me resolve this issue?"
Hi @arjunva7. Unlike Arduino Cloud, which has all the >6700 libraries of the Arduino Library Manager pre-installed, when using Arduino IDE we must install any library dependencies of our sketches. This error occurred because you don't have the "ArduinoIoTCloud" library dependency of your Thing sketch installed. Fortunately the Arduino IDE Library Manager makes that quite easy.
I'll provide instructions you can follow to do that:
- Select Sketch > Include Library > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
- Type
ArduinoIoTCloud
in the "Filter your search..." field. - Scroll down through the list of libraries until you see the "ArduinoIoTCloud" entry.
- You will see an "INSTALL" button at the bottom of the entry. Click the button.
An "Install library dependencies" dialog will open. - Click the "INSTALL ALL" button in the "Install library dependencies" dialog.
The dialog will close. - Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:
ⓘ Successfully installed library ...
Please let me know if you have any questions or problems while following those instructions.
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.