How to install APK file using ADB Command

adb will allow you to install apk application over local network into your android devices like TV, Android Setup Box, Android Tablet and More



Extract the downloaded file folder



Open windows prompt from the folder by typing in cmd on the folder address bar and hit enter


To install an APK using ADB (Android Debug Bridge), follow these steps:


1️⃣ Enable Developer Options & USB Debugging

  1. Go to SettingsAbout phone.
  2. Tap Build number 7 times to enable Developer Options.
  3. Go to SettingsDeveloper Options → Enable USB Debugging.

2️⃣ Connect Your Device to PC

  • Use a USB cable to connect your Android device.
  • Over the same Loca Area Network: both devices will be connected to the same wifi
  • Allow USB debugging access when prompted on the device.

3️⃣ Verify Device Connection

Open Command Prompt (Windows) or Terminal (Mac/Linux) and run:

For LAN connection, confirm the device wifi or ethernet ip address, and then run this command 

adb start-server

adb connect 192.168.1.100

 (replace the 192.168.1.100 with your device correct ip) and proceed to step 4,if your device is usb only then skip to the next line of code


adb devices

Expected output:

List of devices attached
0123456789ABCDEF    device

If it shows unauthorized, check the device for a prompt to Allow USB debugging.


4️⃣ Install the APK

Run this command:

adb install path/to/your/app.apk

Example:

adb install C:\Users\Username\Downloads\soony_logo_maker.apk  # For Windows
adb install /Users/Username/Downloads/soony_logo_maker.apk    # For Mac/Linux

Common Scenarios:

  • Reinstall an App (without uninstalling first):
adb install -r path/to/your/app.apk
  • Downgrade an App:
adb install -d path/to/your/app.apk

5️⃣ Confirm Installation

Run:

adb shell pm list packages | grep your.package.name

Replace your.package.name with the app’s package name (e.g., com.example.myapp).


Success Message:

Performing Streamed Install
Success

Your APK is now installed! 🚀 Let me know if you run into any issues. 😊


  • 0 Comments
  • 7 Views
  • Share:

We may use cookies or any other tracking technologies when you visit our website, including any other media form, mobile website, or mobile application related or connected to help customize the Site and improve your experience. learn more

Allow