| title | seo_title | description | date | keywords | |||||
|---|---|---|---|---|---|---|---|---|---|
Set up ADB on Windows by following the tutorial |
Set up ADB on Windows by following the tutorial |
Step-by-step tutorial on installing and configuring ADB on Windows for Rockchip-based SBCs and smart devices. |
2025-06-22 |
|
Setting up ADB (Android Debug Bridge) on a Windows system is essential for developers working with embedded Android platforms such as Rockchip-based SBCs. This tutorial walks you through the step-by-step process of downloading, installing, and configuring ADB to enable USB debugging, firmware flashing, and log access. Whether you’re integrating a TFT LCD module, testing Android firmware, or customizing BSP layers, a reliable ADB setup is the foundation for smooth development and debugging.
Different Windows environments may behave differently with each version of ADB. If one version does not work on your machine, try the other.
adb-v1.0.39.zip version 1.0.39 - Alternative version in case of compatibility issues
adb-v1.0.41.zip version 1.0.41 - Tested and works in most cases
Unzip the downloaded package to a simple and accessible location — we recommend C:\adb for convenience.
Your folder structure should look like this:
C:\adb
|adb.exe
|AdbWinApi.dll
|AdbWinUsbApi.dll
📁 Tip: Avoid placing ADB in deeply nested folders to prevent path or permission issues later.
To use ADB from any command prompt, you need to add its folder (e.g., D:\adb) to your system’s PATH environment variable:
- Open the Start Menu, search for Environment Variables, and click “Edit the system environment variables”.
- In the System Properties window, click the “Environment Variables…” button.
- Under System variables, find and select Path, then click Edit….
- Click New and enter the full path to your ADB folder, such as:
D:\adb
- Click OK to save and close all windows.
To confirm ADB is installed correctly:
- Press Win + R, type cmd, and press Enter to open the Command Prompt.
- In the terminal, run the following command:
adb devices- If ADB is set up properly, you’ll see a list of connected devices (or an empty list if no device is connected yet), like below:
Open Command Prompt(cmd) and run command adb devices
✅ Tip: If you see a message like adb is not recognized as an internal or external command, double-check your system PATH setting from Step 3.
To connect Rocktech devices via ADB, you’ll need to install the appropriate USB driver based on the SoC (System on Chip) used in your device.
If your Rocktech product is based on one of the following SoCs:
- PX30, RK3308, RK3288, RK3566, RK3568, RK3399
Or if you’re using a Rocktech Smart Control Panel, such as:
- RK-A4E, RK-A4ES, RK-A4EPL, RK-A6E, RK-A10E,RK-T10E
Download and install the official Rockchip USB driver:
If your device uses the following SoCs:
- A23, A33, A64, A83T, H8, R16, R528
Download and install the official Allwinner USB driver:
There are two methods to establish an ADB connection with your Rocktech Smart Device. Choose the one that best fits your environment.
Ensure the device is powered on and connected to your PC using a USB data cable.

Make sure both your Smart Device and PC are connected to the same local Wi-Fi network (same router or subnet).
Use the following command to connect ADB over Wi-Fi (replace the IP address with your device’s actual IP):
adb connect 10.0.0.89Sends a file from your PC to the device's internal storage (e.g. /sdcard/):
adb push filename /sdcard/Downloads a file from the device to your current PC directory:
adb pull /sdcard/filenameInstalls an Android application (.apk file) onto the connected Smart Device:
adb install your_app.apkTip: Use -r to reinstall without removing user data:
adb install -r your_app.apkHere are a few more useful operations during development and testing:
List connected devices
adb devicesReboot the device
adb rebootStart a shell on the device
adb shellView device logs (for debugging)
adb logcatUninstall an app (replace package.name with actual package)
adb uninstall com.example.app




