Instalation of ESP32 support failed

Hi, I have installed the latest Arduino 1.8.9. Then I followed instructions from https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/

I entered https://dl.espressif.com/dl/package_esp32_index.json into the “Additional Board Manager URLs” field.

But when Tools->Board->Boards Manager is opened, there is no ESP32 on the list. Arduino shows this error: Error downloading https://dl.espressif.com/dl/package_esp32_index.json

Previously I have successfully added the ESP32 on my other Win7 computer, but now on this Win10 notebook it fails. Has anybody solved similar problem ?

  • After you get that error, click the “Close” button in the Boards Manager window.
  • Click on the black console window at the bottom of the Arduino IDE window.
  • Press “Ctrl + A”. This will select all the text in the console window.
  • Press “Ctrl + C”. This will copy the selected text to the clipboard.
  • In a reply here, click the </> button on the forum toolbar. This will insert code tags into the reply field.
  • Press “Ctrl + V”. This will paste the copied text from the clipboard between the code tags.
  • Click “Post”.
Error downloading https://dl.espressif.com/dl/package_esp32_index.json

This is the only line shown in the black console window. Is there any way to get more details about the error ?

Try this:

  • (In the Arduino IDE) File > Preferences
  • Click the link at the line following "More preferences can be edited directly in the file". This will open the Arduino15 (or similar name depending on OS) folder.
  • Delete all files in that folder except for preferences.txt. Please be very careful when deleting things on your computer. When in doubt, back up!
  • (In the Arduino IDE) Close the Boards Manager window if it's open.
  • Tools > Board > Boards Manager
  • Wait for the downloads to finish.

Thank you very much Pert, I did what you wrote and instalation of ESP32 was successful !

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