Android Studio

Android Studio Shortcuts

Android Studio keyboard shortcuts for editing, debugging, navigation and build tools.

Source: Official documentation · Updated 2025-05

Shortcuts
5
Categories

Cheat sheet guide

Android Studio shortcuts worth learning first

This page collects 44 searchable Android Studio keyboard shortcuts across 5 categories. Start with the shortcuts for Build & Run, Code Editing, Navigation, Refactoring, then print the cheat sheet once the important ones are worth keeping nearby.

  • Switch OS tabs for Windows, macOS, or Linux shortcuts.
  • Use / to jump to search instantly.
  • Use Compare mode when moving between machines.
  • Print or save the page as a compact PDF cheat sheet.
Build & Run 7 shortcuts
Build project
Ctrl+F9
Run app
Shift+F10
Debug app
Shift+F9
Stop running
Ctrl+F2
Run with coverage
Ctrl+Shift+F10
Apply changes
Ctrl+F10
Sync project with Gradle
Ctrl+Shift+O(Project)
Code Editing 12 shortcuts
Code completion (basic)
Ctrl+Space
Code completion (smart)
Ctrl+Shift+Space
Show intention actions
Alt+Enter
Reformat code
Ctrl+Alt+L
Optimize imports
Ctrl+Alt+O
Duplicate line
Ctrl+D
Delete line
Ctrl+Y
Move line up
Alt+Shift+Up
Move line down
Alt+Shift+Down
Comment / uncomment line
Ctrl+/
Comment block
Ctrl+Shift+/
Surround with…
Ctrl+Alt+T
Navigation 11 shortcuts
Search everywhere
ShiftShift
Go to class
Ctrl+N
Go to file
Ctrl+Shift+N
Go to declaration
Ctrl+B
Go to implementation
Ctrl+Alt+B
Find usages
Alt+F7
Navigate back
Alt+Left/Ctrl+Alt+Left
Navigate forward
Alt+Right/Ctrl+Alt+Right
Go to line
Ctrl+G
Recent files
Ctrl+E
Recently changed files
Ctrl+Shift+E
Refactoring 7 shortcuts
Rename
Shift+F6
Extract variable
Ctrl+Alt+V
Extract method
Ctrl+Alt+M
Extract field
Ctrl+Alt+F
Extract constant
Ctrl+Alt+C
Inline
Ctrl+Alt+N
Move
F6
Debugging 7 shortcuts
Toggle breakpoint
Ctrl+F8
Step over
F8
Step into
F7
Step out
Shift+F8
Resume program
F9
Evaluate expression
Alt+F8
View breakpoints
Ctrl+Shift+F8

Frequently asked questions

What is the fastest way to find Android Studio shortcuts on this page?

Use the search box or press /, then type an action such as build project.

Can I print this Android Studio shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Does this page include Windows and Mac shortcuts for Android Studio?

Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Build project is Ctrl+F9 on Windows and ⌘F9 on macOS where available.

Advertisement
No shortcuts match your search.