Transition to version 3.8.1

I decided to upgrade from version 3.7 to version 3.8.1.
I installed everything as indicated in the documentation, created a new android project. But it doesn’t compile and there are a lot of errors. Explain what the problem is?