Getting following error while downloading mbed os for nano 33 ble

Hi @archsam. I'm going to ask you to post some additional information that might help us to identify the problem.

Please do this:

  1. Close all Arduino IDE windows.
  2. Start the Arduino IDE. (this restart was done to get a blank console pane)
  3. Select Tools > Board > Boards Manager from the Arduino IDE's menus.
  4. Try to install the boards platform
  5. After the process fails, click the Close button.
  6. Click on the black console pane at the bottom of the Arduino IDE window.
  7. Press Ctrl+A to select all the text.
  8. Press Ctrl+C to copy the selected text to the clipboard.
  9. Open a forum reply here by clicking the Reply button.
  10. Click the </> 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.
    Code block
  11. Press Ctrl+V. This will paste the compilation output into the code block.
  12. Move the cursor outside of the code block markup before you add any additional text to your reply.
  13. Click the Reply button to post the output.
 Error downloading
java.lang.RuntimeException: java.lang.Exception: Error downloading
	at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(
Caused by: java.lang.Exception: Error downloading
	at cc.arduino.contributions.packages.ContributionInstaller.install(
	at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(
	... 1 more
Caused by: C:\Users\creator\Documents\ArduinoData\staging\packages\ (Access is denied)
	at Method)
	... 5 more

bump on behalf of OP to avoid duplicate post

This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on.

If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allow list" so it doesn't interfere with compilation.

Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to not interfere with the Arduino software.

Greetings Pert,

Your solution solved my issue. Thanks for your cooperation.

Thanks and regards

You're welcome. I'm glad to hear it's working now. Enjoy!

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