I face the same your error also. I am running Arduion IDE 1.8.8-Ubuntu 18.04 LTS. So it does not any errors on IDE 1.8.8-Windows 10
@Aooddy, do not hijack. Thread split.
I had ready solved my problem
It kept you from interfering with someone else getting help.
Or was that your goal? To make the original thread so muddled as to prevent someone else from getting help?
If you sincerely want help, post the complete error message. Use code tags.