Android Studio Cheatsheet - Android IDE Shortcut Reference

Android work is build-loop heavy, and Android Studio’s shortcuts condense that loop. This reference covers Kotlin/Java generation and navigation, the layout editor, Gradle sync, emulator controls, run/debug, and Logcat/Profiler access. The high-yield ones are navigation to implementation, quick build/run, and jumping from an AndroidX call to source. For anyone iterating on screens and APIs all day. After reading you keep the build-test-debug cycle moving mostly with the keyboard.

Dev Tools·52 commands·Last updated 2026-07-21

Kotlin/Java Development 10

Cmd + N
Generate code (constructor, getter/setter, equals/hashCode)
Cmd + Option + T
Surround with (if/for/try/catch)
Cmd + Option + M
Extract method
Cmd + Option + V
Extract variable
Cmd + Option + C
Extract constant
Cmd + P
Parameter info
Cmd + B
Go to declaration
Cmd + U
Go to superclass/interface
Cmd + Option + B
Go to implementation
Cmd + Option + H
View type hierarchy

Layout Editor 10

Cmd + Option + →
Switch to next tab (Design/Text)
Cmd + Option + ←
Switch to previous tab
Cmd + Shift + A
Find action (search layout tools)
Cmd + Option + I
Auto-indent XML
Cmd + Option + L
Format XML
Cmd + Option + Shift + I
Preview layout
Cmd + Option + C
Copy view
Cmd + Option + V
Paste view
Cmd + Option + X
Cut view
Cmd + Option + Z
Undo

Gradle Build 7

Cmd + Shift + A
Search Gradle tasks
Cmd + F9
Build project
Cmd + F5
Refresh Gradle dependencies
Cmd + Option + Shift + S
Sync Gradle files
Cmd + Option + G
Open Gradle panel
Cmd + Shift + F9
Run current configuration
Cmd + Shift + F10
Run current app

Emulator & Device 8

Cmd + Shift + A
Search AVD manager
Cmd + Option + ←
Emulator rotate left
Cmd + Option + →
Emulator rotate right
Cmd + Option + ↑
Emulator volume up
Cmd + Option + ↓
Emulator volume down
Cmd + Option + M
Emulator menu key
Cmd + Option + B
Emulator back key
Cmd + Option + P
Emulator power key

Debug & Run 11

Ctrl + R
Run current configuration
Ctrl + D
Debug current configuration
Cmd + F2
Stop
F8
Step over
F7
Step into
Shift + F8
Step out
Alt + F9
Run to cursor
Cmd + F8
Toggle breakpoint
Cmd + Shift + F8
View all breakpoints
Cmd + Option + R
Resume program
Cmd + Option + E
Evaluate expression

Logcat & Performance 6

Cmd + 6
Open Logcat panel
Cmd + Option + L
Clear Logcat
Cmd + Shift + A
Search Logcat filter
Cmd + 7
Open Profiler panel
Cmd + Option + P
Profiler pause
Cmd + Option + R
Profiler resume

Tips

  • Android Studio is built on the IntelliJ platform; most shortcuts match WebStorm and PhpStorm.
  • Cmd+Shift+A is the Command Palette; search any action, including Gradle tasks and AVD management.
  • Cmd+Option+Shift+S syncs Gradle files; run it after editing build.gradle.
  • Emulator shortcuts are Cmd+Option+Arrow on Mac, Ctrl+Alt+Arrow on Windows.
  • The Logcat panel (Cmd+6) shows app logs; filter by tag to narrow down.
  • The Profiler panel (Cmd+7) shows CPU, memory, and network performance - essential for optimization.

Official References

Each command links to its official documentation below, so you can verify the latest usage and read deeper.

Maintained by LaoHand

Publicly updated on Jul 21, 2026, continuously proofread against official docs.

Contact Us

Wrong command or description? Send us corrections, business inquiries or product feedback by email.

Contact Us