安装Arduino 1.8.2时报的这个错误, 在 Cannot install arduino-1.8.2 #6116 找到了解决办法:
I had the same problem while installing Arduini IDE 1.8.2 on a Ubuntu machine. The resource name in the install.sh file is wrong. When I looked in the Arduino-1.8.2/lib there is a file named arduino-arduinoide.xml file. So I changed the “RESOURCE_NAME=cc.arduino.arduinoide” to “RESOURCE_NAME=arduino-arduinoide” and then run ./install.sh and that worked fine for me.
很简单,用Gedit打开install.sh,把 RESOURCE_NAME=cc.arduino.arduinoide
更改为 RESOURCE_NAME=arduino-arduinoide
就好了.