Android Studio can not find necessary imports
<p>The problem is that the IDE does not suggest any classes to import while typing class name. However, if I manually type, for example, <code>import android.widget.Button;</code> the error with finding the class disappeares. All checkboxes in the Auto Import are ticked. Thank you. </p>