Fixing Error Message in Console Area

you probably want to use

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json

read GitHub - espressif/arduino-esp32: Arduino core for the ESP32