ANDROID FUNDAMENTALS
CHEAT SHEET
Command Description
apt-get install adb Install ADB
on Linux.
/bin/bash -c "$(curl -fsSL Install ADB
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" on MacOS.
brew update
brew install android-platform-tools
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser Install ADB
iex (New-Object on
System.Net.WebClient).DownloadString('https://get.scoop.sh')
scoop bucket add extras
Windows.
scoop install adb
adb start-server Start ADB
server.
adb devices List Android
Virtual
Devices
(AVDs).
adb shell Open an
interactive
shell on the
device.
adb root Restart ADB
as root.
adb install myapp.apk Install an
app on the
device.
Command Description
adb push ./myapp.apk /sdcard/Download/ Push files to
the device.
adb pull /sdcard/Download/myapp.apk . Pull app
from the
device to
the local
host.