System Requirements
Operating System
Windows 10 or Windows 11
Node.js
Version 16 or higher (only for web interface)
Android Device
USB debugging enabled
ADB
Auto-downloaded if not present
The CLI (
apk-downloader.bat) works without Node.js. Only the web interface requires Node.js.Installation Steps
Install Node.js (for Web Interface)
If you plan to use the web interface, install Node.js first.
- Download Node.js from nodejs.org
- Choose the LTS (Long Term Support) version
- Run the installer and follow the installation wizard
- Verify installation by opening Command Prompt and running:
If you only want to use the CLI, you can skip this step entirely.
Download APK Extractor
Clone or download the APK Extractor repository to your computer.Option 1: Using GitOption 2: Download ZIP
- Download the repository as a ZIP file
- Extract to a folder of your choice (e.g.,
C:\apk-extractor) - Navigate to the extracted folder
Enable USB Debugging on Your Android Device
Before connecting your device, enable USB debugging:
-
Enable Developer Options:
- Go to Settings → About phone
- Tap Build number 7 times until you see “You are now a developer!”
-
Enable USB Debugging:
- Go to Settings → Developer options
- Enable USB debugging
-
Connect Your Device:
- Connect your Android device to your PC via USB cable
- When prompted on your device, tap Allow to authorize USB debugging
Set Up ADB
APK Extractor requires ADB (Android Debug Bridge) to communicate with devices. You have two options:You should see output similar to:
Option 1: Automatic Download (Recommended)
When you first launch APK Extractor (eitherstart-web.bat or apk-downloader.bat), it will automatically check for ADB:- If ADB is not found, you’ll see a setup menu
- Choose Option 2: “Download ADB now”
- The tool will download Android Platform Tools from Google
- ADB will be installed to
C:\platform-tools\adb.exe - The path is automatically saved to
config.txt
Option 2: Use Existing ADB
If you already have ADB installed (e.g., from Android SDK):- When prompted, choose Option 1: “Enter the path where I have ADB installed”
- Provide the full path to
adb.exe, for example: - The path is saved to
config.txtfor future use
Verify ADB Installation
Open Command Prompt and run:Launch APK Extractor
Choose which interface you want to use:This script will:This launches the interactive CLI with:
Web Interface (Recommended)
Double-clickstart-web.bat or run from Command Prompt:- Verify Node.js is installed
- Install dependencies automatically (
npm installand optional libraries likesystray2) - Start the Express server invisibly in the background using VBScript
- Create a system tray icon (near the Windows clock) for easy access
- Open your default web browser to
http://localhost:3000
If you close the browser tab, the server continues running. Use the system tray icon to:
- Reopen the web interface
- Shut down the server completely
Command-Line Interface
Double-clickapk-downloader.bat or run from Command Prompt:- Color-coded menus and output
- Device management options
- Application browsing and extraction
- No Node.js required
File Structure
After installation, your APK Extractor directory will contain:Configuration Files
config.txt
config.txt
Stores the path to To change your ADB path, either:
adb.exe. This file is created automatically when you configure ADB for the first time.Example content:- Delete this file and restart APK Extractor
- Use the “Change ADB path” option in the main menu (CLI)
- Use the configuration API endpoint (web)
devices.json
devices.json
Stores WiFi devices for quick reconnection. Created automatically when you pair a device via wireless debugging.Format:This file is shared between the web interface and CLI.
device-names.json
device-names.json
Stores custom names assigned to devices by their serial number.Format:Custom names are displayed in both interfaces and persist across sessions.
Wireless Debugging Setup (Optional)
Wireless debugging requires Android 11 or higher.
Enable Wireless Debugging on Android
- Go to Settings → Developer options
- Enable Wireless debugging
- Tap Wireless debugging to open the settings
Pair the Device
- In APK Extractor, choose Wireless Debugging from the main menu
- On your Android device, tap Pair device with pairing code
- Note the IP address, Port, and 6-digit pairing code
- Enter these values in APK Extractor when prompted
- Wait for “Pairing successful” message
Troubleshooting
ADB device not found
ADB device not found
Symptoms: “No devices connected” messageSolutions:
- Ensure USB debugging is enabled on your device
- Check that your USB cable supports data transfer (not just charging)
- Try a different USB port on your computer
- Disconnect and reconnect the device
- On your device, revoke USB debugging authorizations and reconnect
- Run
adb devicesin Command Prompt to verify device detection
Node.js not found (Web Interface)
Node.js not found (Web Interface)
Symptoms: Error when running
start-web.batSolutions:- Install Node.js from nodejs.org
- Restart Command Prompt after installation
- Verify installation with
node --version - Alternatively, use the CLI (
apk-downloader.bat) which doesn’t require Node.js
Port 3000 already in use
Port 3000 already in use
Symptoms: “EADDRINUSE” error when starting web interfaceSolutions:
- Close any existing APK Extractor web server instances
- Check system tray for running APK Extractor icon
- Kill the process using port 3000:
- Or modify
server.js:9to use a different port
Wireless debugging connection fails
Wireless debugging connection fails
Symptoms: “Error connecting” message for WiFi devicesSolutions:
- Ensure both PC and Android device are on the same WiFi network
- Disable any VPN connections
- Check that your firewall allows ADB connections
- Try disabling and re-enabling wireless debugging on the device
- Ports expire after reboot - use the rebinding wizard in Saved Devices menu
Next Steps
Quick Start Guide
Now that APK Extractor is installed, learn how to extract your first APK
