Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Install an Android APK With ADB

Use Android Platform-Tools to install an APK on your own phone over USB or trusted Wi-Fi, and troubleshoot common ADB errors.

Table of Contents

To install an APK on your own Android device, connect it with Android Debug Bridge, check that adb devices lists it, then run adb install "path/to/app.apk". Use an APK you built yourself or obtained from a publisher you trust.

Install Platform-Tools and choose the APK

Download Android SDK Platform-Tools for your system, or use the copy installed with Android Studio. In a terminal, check adb version. If ADB is not on your path, open the extracted folder and run .adb.exe in Windows PowerShell or ./adb on macOS or Linux instead of adb. Keep the APK in a known folder and quote file paths that contain spaces.

How to Install Android Apps via ADB Picture 1

How to Install Android Apps via ADB Picture 2

How to Install Android Apps via ADB Picture 3

Connect over USB

  1. Enable Developer options on your phone, then enable USB debugging.
  2. Use a USB cable capable of data transfer. Unlock the phone and approve the debugging prompt for your own computer.
  3. Run adb devices. Continue when the device is listed with status device. If it says unauthorized, check the phone for the approval prompt.

How to Install Android Apps via ADB Picture 4

Pair over Wi-Fi on Android 11 or later

Connect the phone and computer to the same trusted network. Open Developer options > Wireless debugging > Pair device with pairing code. Run adb pair HOST:PORT with the address and pairing port shown on the phone, then enter the displayed code locally. Check adb devices. If it does not connect automatically, run adb connect HOST:PORT using the separate connection port on the main Wireless debugging screen. The two ports can differ.

How to Install Android Apps via ADB Picture 5

How to Install Android Apps via ADB Picture 6

Install and verify

adb install "path/to/app.apk"

Look for Success, then find the app on the phone. If more than one device is connected, use adb -s SERIAL install "path/to/app.apk" with the chosen device’s identifier. If Android reports an incompatible update signature or an unsupported version, obtain the correct APK for the device before retrying. Turn off debugging when you are done if you no longer need it.

How to Install Android Apps via ADB Picture 7

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.