Esp8266 driver won't update

Ive tried to update my esp8266 but this error happend:
java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda $ onInstallPressed $ 2 (ContributionManagerUI.java:179)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.NullPointerException
at cc.arduino.contributions.packages.ContributionInstaller.remove (ContributionInstaller.java:275)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda $ onInstallPressed $ 2 (ContributionManagerUI.java:170)
... 1 more
Unable to array dc.txt in C: \ Users \ 48782 \ AppData \ Local \ Arduino15 \ packages \ esp8266 \ hardware \ esp8266 \ 3.0.1. Is it before 1.5?
WARNING: Error loading hardware folder C: \ Users \ 48782 \ Documents \ Arduino \ hardware \ esp8266com
Invalid hardware definitions detected in the esp8266com folder.

Take a look at Installing ESP8266 in Arduino IDE (Windows, Mac OS X, Linux) | Random Nerd Tutorials

didint work :frowning:

Hi @kacper2. Please try this:

Remove failed ESP8266 boards platform installations

Delete this folder:

C:\Users\48782\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.1

NOTE: C:\Users\48782\AppData will be hidden by Windows Explorer by default. You will need to adjust the View settings to show hidden folders in order to see it.

Please be very careful when deleting things from your computer. When in doubt, back up!

Delete this folder:

C:\Users\48782\Documents\Arduino\hardware\esp8266com

Install ESP8266 boards platform

  1. Start the Arduino IDE
  2. Select File > Preferences from the Arduino IDE's menus.
  3. If not already present, enter the following URL into the "Additional Boards Manager URLs" field:
    https://arduino.esp8266.com/stable/package_esp8266com_index.json
    
    If there are already Additional Boards Manager URLs there, separate them with commas.
  4. Click the OK button.
  5. Select Tools > Board > Boards Manager from the Arduino IDE's menus.
  6. Wait for the updates to finish.
  7. Scroll down through the list of boards platforms until you see "esp8266 by ESP8266 Community. Click on it.
  8. Click the Install button.
  9. Wait for the installation to finish.
  10. Click the Close button.

You should now see the ESP8266 of the installed platform under the Arduino IDE's Tools > Board menu.

1 Like

Thank you very much!

You're welcome :grinning: