It seems strange to me, because I'm sure my keyboard works fine, and the studio settings for Android are fine, but I just see a popup suggestion for importing classes, and nothing happens when I press Alt + Enter.
I am working on Windows 10, and the Android SDK on another hard drive (E :) from the installation of Android Studio (C :), Iβm not sure that they contribute to this problem.
After some trial and error, I accidentally solved the problem by pressing "Windows Key + Alt + Enter" to bring up the import class menu and then press Enter again to correctly import the proposed class.
source share