- On the device, go to Settings. If you don't see Developer Options in the list:
- Go to About Phone. Scroll to the bottom and tap on Build Number 7 times to enable developer mode.
- Go back to the main Settings screen. Select Developer Options, scroll to USB Debugging and enable the switch.
- Plug in the device to your computer using a USB data cable.
- You may be prompted to accept the RSA Fingerprint, tap Yes.
-
Download "SDK Platform-Tools for Mac" here: https://developer.android.com/studio/releases/platform-tools.html.
-
Unzip and move the
platform-tools
folder to your home (~/
) directory. -
Add platform-tools to your path. On the command line, from your home (
~/
) directory:
- Enter
vim .bash_profile
to open the~/.bash_profile
file in vim - In vim, pressing
i
enters insert mode and allows you to edit the file. - Add
export PATH=$PATH:/Users/$USER/platform-tools
as a new line in the file. - In vim, pressing
esc
exits insert mode and allows you to save (:w + enter
) / quit (:q + enter
).
- Restart your terminal.
-
Download the APK file to your computer.
-
With the device plugged in and USB debugging enabled, on the command line, run
adb install /path/to/file.apk
- Install the Vysor Chrome extension and open it to cast your device.