Arduino: Unable to install ESP8266 board using the board manager

Created on 22 Jul 2016  路  6Comments  路  Source: esp8266/Arduino

I am not able to install the ESP 8266 board using the board manager in Arduino IDE. The message I am getting is shown in the image attached with this message. Please help.
esp error

troubleshooting

Most helpful comment

@rickylee64

  1. Why are you having esp8266 core in your arduino\hardware\esp8266com directory? This is not a valid way to install the core. You need to remove that. If you do want to place the core into IDE hardware directory, it has to go into arduino\hardware\esp8266com\esp8266.
  2. IDE complains about invalid characters in C:\Users\c845010\AppData\Local\Arduino15\package_esp8266com_index.json. Did you try opening this file with text editor to check if it was downloaded correctly?

All 6 comments

Does this same error happen every time you try to install? Can you copy the full error message text and upload it somewhere?

I am having this problem on one particular laptop which is running windows 7. I tried after installing the new Java platform and even after that the problem still persists.

I ll try copy pasting it here. But its the same error message that is repeated given in the picture.

"Caused by...................................................23 more "

I also can't install esp8266 using board manager. I'm using:
Windows 7, 32-bit.
Java 8/101.
I'm using a proxy. Details entered into IDE.
I've turned off windows firewall.
I'm running Arduino 1.6.10.
The "Boards Manager" seems to get stuck at "Downloading platforms index..." sometimes, and I have to use task manager to close the IDE.
When it does finish, I get the error message below.
Any help appreciated.

Skipping contributed index file C:\Users\c845010\AppData\Local\Arduino15\package_esp8266com_index.json, parsing error occured:
com.fasterxml.jackson.databind.JsonMappingException: Illegal character ((CTRL-CHAR, code 0)): only regular white space (r, \n, t) is allowed between tokens
at Source: java.io.FileInputStream@fb0edb; line: 138, column: 10
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com\bootloaders. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com\cores. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266comdoc. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266comlibraries. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com\package. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266comtests. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266comtools. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com\variants. Is it pre-1.5?
WARNING: Error loading hardware folder c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com
No valid hardware definitions found in folder esp8266com.
Skipping contributed index file C:\Users\c845010\AppData\Local\Arduino15\package_esp8266com_index.json, parsing error occured:
com.fasterxml.jackson.databind.JsonMappingException: Illegal character ((CTRL-CHAR, code 0)): only regular white space (r, \n, t) is allowed between tokens
at Source: java.io.FileInputStream@4682e5; line: 138, column: 10
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com\bootloaders. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com\cores. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266comdoc. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266comlibraries. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com\package. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266comtests. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266comtools. Is it pre-1.5?
Could not find boards.txt in c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com\variants. Is it pre-1.5?
WARNING: Error loading hardware folder c:\users\c845010ricky\2016\arduino2016\arduino\hardware\esp8266com
No valid hardware definitions found in folder esp8266com.

@rickylee64

  1. Why are you having esp8266 core in your arduino\hardware\esp8266com directory? This is not a valid way to install the core. You need to remove that. If you do want to place the core into IDE hardware directory, it has to go into arduino\hardware\esp8266com\esp8266.
  2. IDE complains about invalid characters in C:\Users\c845010\AppData\Local\Arduino15\package_esp8266com_index.json. Did you try opening this file with text editor to check if it was downloaded correctly?

Per last comment, closing as user error. If you still need assistance, please refer to a community forum. For more details see #3655 .

Was this page helpful?
0 / 5 - 0 ratings

Related issues

treii28 picture treii28  路  3Comments

hoacvxd picture hoacvxd  路  3Comments

pablotix20 picture pablotix20  路  3Comments

Geend picture Geend  路  3Comments

gosewski picture gosewski  路  3Comments