Exit status 1 is just a generic error message that only tells you something went wrong. There are a nearly infinite number of possible causes with almost as many fixes.
What you need to do is read through the contents of the black console window at the bottom of the Arduino IDE window to see the specific error messages that will tell you what the problem is. You may need to scroll that window up to see it all.
If you want an explanation for the error, you need to post the full error output here. It's impossible for us to know what could have caused exit status 1.