[android-studio] Remove unused imports in Android Studio

I recently started Android Studio IDE to make my android apps. I find shortkey to remove unused import in Android Studio is not working (Ctrl+Shift+O)

What is shortcut key to do same in Android Studio?

This question is related to android-studio

The answer is

Simple, right click on your project in Android Studio, then click on the Optimize Imports that should work.



To do same thing which I described above, you can do same just pressing Ctrl+Alt+O, it will optimize imports of your current file and your entire project depends on your selection in a dialog.

enter image description here

Similar questions with android-studio tag: