Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 967 Bytes

Android Studio Shortcuts.md

File metadata and controls

24 lines (14 loc) · 967 Bytes

Android Studio, you can comment or uncomment the selected lines or the current line using the following keyboard shortcuts:

  • Windows/Linux: Ctrl + /
  • Mac: Command + /

This shortcut toggles the comment status of the selected lines or the line where the cursor is currently positioned.

Android Studio, you can open an adb (Android Debug Bridge) shell directly using the following shortcut:

  1. MacOS/Linux: Command + Shift + A
  2. Windows: Ctrl + Shift + A

This will open the "Search Everywhere" dialog. Then, type adb shell and select it from the options.

Alternatively, you can use the Terminal within Android Studio:

  • Open the Terminal:
    • MacOS/Linux: Option + F12
    • Windows: Alt + F12

Once the Terminal is open, you can type adb shell and press Enter to open the adb shell.

This method is handy for quickly accessing the adb shell directly within Android Studio without needing to leave the IDE.