Guide: Setting up Android devices
Last updated: October 6, 2025
Jump to: Real Android Devices | Android Emulators
Android Emulator
Automating an Android emulator using AskUI is straightforward once the emulator is configured and started.
1. Install Android Studio
Download Android Studio from the official page: Android Studio Download
2. Set up an Emulator using Android Virtual Device (AVD) Manager
Open Android Studio.
Navigate to More Actions → Virtual Device Manager.
Click Create Virtual Device….
Select a hardware profile (e.g., Pixel 5) and click Next.
Choose a system image (preferably one with the Play Store). Note that the download may take several minutes. Then click Next.
Configure device options if needed and click Finish.
For more information, check Create and manage virtual devices
3. Start the Emulator
In AVD Manager, click the Play button next to your virtual device.
Wait for the emulator to boot completely.
Real Android Devices
Automating a real Android device with AskUI is straightforward once you have ADB installed.
1. Enable Developer Options and USB Debugging
On your Android device, open Settings → About phone.
Tap Build number seven times to enable Developer Options.
Go back to Settings → Developer Options.
Enable USB Debugging.
For more information, check Enable adb debugging on your device
2. Install ADB (Platform-Tools)
Download the ADB standalone Platform-Tools from the official source: Android Platform-Tools.
Extract the downloaded ZIP file to a folder on your computer.
Example:
C:\platform-tools(Windows) or~/platform-tools(macOS/Linux)
For more information, check Android Debug Bridge
3. Add ADB to your system PATH
Windows:
Press
Win + S, search for Environment Variables, and open Edit the system environment variables.Click Environment Variables….
Under User variables, select Path, then Edit….
Click New and add the path to your
platform-toolsfolder e.g.C:\platform-toolsClick OK to save.
macOS/Linux
Add the following line to your shell config file (
~/.bash_profile,~/.zshrc, or~/.bashrc):export PATH="$PATH:/path/to/platform-tools"Save the file
4. Verify Device Connection
Before running automation, make sure your device is connected and visible to ADB.
Connect your device via USB
🚧 When you connect your device for the first time, a prompt will appear on the device asking you to allow USB debugging. Tap Allow.
Open Terminal
Run :
adb devicesExpected output:
List of devices attached
1234567890abcdef device