12th October, 2022
Hi Android Developer!
Following are some important shortcut keys for Android Studio.
CTRL + SPACE --> Basic Code Completion SHIFT + F6 --> Refactor/Rename Shift + Shift --> Search Every Where ALT + ENTER --> Quick Fix SHIFT + F10 --> Run SHIFT + F9 --> Debug CTRL + N --> Go to Class CTRL + SHIFT + N --> Go to File CTRL + SHIFT + BACKSPACE --> Navigate to Last Edit Location CTRL + ALT + L --> Format Code ALT + 6 --> Show Logcat CTRL + D --> Duplicate Line CTRL + Y --> Delete Line CTRL + E --> Recently Opened Files CTRL + SHIFT + A --> Find Action ALT + INS --> Generate Code ALT + -/+ --> Collapse/Expand Code Blocks
Add Your own shortcuts
You can add your own shortcut key too. Have a look here that how to add shortcut key. Let’s add shortcut key for New Empty blank activity.
File -> Settings -> Keymap ->

In the Keymap section, Search for Activity. Select Empty Activity and right click (or double click) on it.

Select add keyboard shortcut. (New window will appear) Set your favorite shortcut key. Click OK. Click Apply and OK. Enjoy!

Happy coding!