avr-g++: no such file or directory

MGonzalez506:
This worked for me, but just "1.6.20" version, when I try .21 or .22 version it crash.

Are you using Arduino IDE 1.8.5 still?