[go: up one dir, main page]

0% found this document useful (0 votes)
27 views2 pages

Android Fundamentals Module Cheat Sheet

This document is a cheat sheet for Android Fundamentals, specifically focusing on ADB (Android Debug Bridge) commands. It provides installation instructions for ADB on Linux, MacOS, and Windows, as well as essential commands for starting the ADB server, listing devices, opening a shell, and installing or transferring apps. The commands are presented alongside their descriptions for quick reference.

Uploaded by

Hà Thái
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

Android Fundamentals Module Cheat Sheet

This document is a cheat sheet for Android Fundamentals, specifically focusing on ADB (Android Debug Bridge) commands. It provides installation instructions for ADB on Linux, MacOS, and Windows, as well as essential commands for starting the ADB server, listing devices, opening a shell, and installing or transferring apps. The commands are presented alongside their descriptions for quick reference.

Uploaded by

Hà Thái
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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.

You might also like