Getting errors after update A. Studio

I bought this book on 2017 but never have the chance to really finish it up. Now I decided to get back in to it and on the first exercise of the book I was able to complete it, but now after I updated Android studio to 3.2 I getting a lot of errors. What should I do?