Android Studio

Android Studio Shortcuts

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

Source: Official documentation · Updated 2026-06

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.

  • Build projectCtrlF9
  • Code completion (basic)CtrlSpace
  • Search everywhereShiftShift
  • RenameShiftF6
  • Toggle breakpointCtrlF8
  • Run appShiftF10

Build & Run

7 shortcuts
Build project
CtrlF9
Run app
ShiftF10
Debug app
ShiftF9
Stop running
CtrlF2
Run with coverage
CtrlShiftF10
Apply changes
CtrlF10
Sync project with Gradle
CtrlShiftO(Project)

Code Editing

12 shortcuts
Code completion (basic)
CtrlSpace
Code completion (smart)
CtrlShiftSpace
Show intention actions
AltEnter
Reformat code
CtrlAltL
Optimize imports
CtrlAltO
Duplicate line
CtrlD
Delete line
CtrlY
Move line up
AltShiftUp
Move line down
AltShiftDown
Comment / uncomment line
Ctrl/
Comment block
CtrlShift/
Surround with…
CtrlAltT

Navigation

11 shortcuts
Search everywhere
ShiftShift
Go to class
CtrlN
Go to file
CtrlShiftN
Go to declaration
CtrlB
Go to implementation
CtrlAltB
Find usages
AltF7
Navigate back
AltLeftCtrlAltLeft
Navigate forward
AltRightCtrlAltRight
Go to line
CtrlG
Recent files
CtrlE
Recently changed files
CtrlShiftE

Refactoring

7 shortcuts
Rename
ShiftF6
Extract variable
CtrlAltV
Extract method
CtrlAltM
Extract field
CtrlAltF
Extract constant
CtrlAltC
Inline
CtrlAltN
Move
F6

Debugging

7 shortcuts
Toggle breakpoint
CtrlF8
Step over
F8
Step into
F7
Step out
ShiftF8
Resume program
F9
Evaluate expression
AltF8
View breakpoints
CtrlShiftF8

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.

See also

No shortcuts match your search.