After updating the version of Android Studio (or for some other reason), the application stops working in a previously running project, and in all the created classes, methods and fields - errors (Cannot resolve symbol '...') in huge numbers ...
Where do they come from and how to fix it?