Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
You can copy an app’s installed APK out of BlueStacks 5 with Android Debug Bridge (ADB), but BlueStacks does not document a standard one-click APK export in its interface. Media Manager exports media, not app packages; the Install APK tool works in the opposite direction. The ADB method below copies the installed APK file or files to Windows. It does not normally include the app’s saved data or guarantee the app will work independently.
Before you start
This guide is for BlueStacks 5 App Player on Windows. You’ll need:
- The app installed in the BlueStacks instance you want to use.
- Android SDK Platform-Tools, which includes
adb. Download it from Android’s ADB documentation. - The ADB connection port for that BlueStacks instance. Use the port shown in its settings; it can vary by installation or instance.
- A Windows Command Prompt or PowerShell window.
BlueStacks’ published guidance covers importing APK files, exporting media, and backing up an instance—not a standard graphical workflow for exporting an installed APK. See its guides for installing apps, Media Manager, and backup and restore. BlueStacks X has a separate interface; these steps are for BlueStacks 5 App Player.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →1. Connect ADB to BlueStacks
Open BlueStacks and make sure the intended instance is running. If ADB needs to be enabled in your installation, use the ADB setting for that instance, then restart it if BlueStacks asks you to. The setting location and labels may vary between versions.
#1 Best Overall
- 1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core
In Command Prompt or PowerShell, connect to the port shown in BlueStacks. Replace PORT with the actual number:
adb connect 127.0.0.1:PORT
adb devices
A successful connection appears in the device list, for example:
127.0.0.1:PORT device
If ADB lists multiple devices, use the BlueStacks serial explicitly in later commands as adb -s 127.0.0.1:PORT .... ADB documents device selection and its other commands in the official command reference.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →2. Find the app’s package name
ADB needs the Android package name, which may differ from the app’s visible name. List third-party packages installed in the connected instance:
Rank #2
- 256 GB SSD of storage.
- Multitasking is easy with 16GB of RAM
- Equipped with a blazing fast Core i5 2.00 GHz processor.
adb shell pm list packages -3
To narrow the list in Command Prompt, replace appname with a distinctive part of the name:
adb shell pm list packages -3 | findstr /i "appname"
Or in PowerShell:
adb shell pm list packages -3 | Select-String -Pattern "appname"
The result includes package names such as com.example.app. If multiple devices are connected, add -s 127.0.0.1:PORT after adb.
3. Get the installed APK path
Ask Android’s package manager for the path. Replace the example with the package name you found:
Recommended Free Tools
adb shell pm path com.example.app
A single-package result may look like this:
package:/data/app/~~random-text==/com.example.app-random-text==/base.apk
Copy the path after package:. The actual directory is generated by Android and will differ. The pm path command is documented as returning the path to an installed package’s APK.
Rank #3
- 14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
4. Copy the APK to Windows
Create a destination folder:
mkdir "%USERPROFILE%DesktopBlueStacks-APK"
Then pull the file. Replace the example path with the complete remote path from your own pm path output:
adb pull "/data/app/~~random-text==/com.example.app-random-text==/base.apk" "%USERPROFILE%DesktopBlueStacks-APK"
ADB uses the form adb pull <remote> <local> to copy a file from an emulator or device to the computer. When it finishes, check the destination folder for the APK and confirm that the file size is nonzero. Keep a note of the app’s package name and version if you’ll need to identify the file later.
Exporting split APKs
If pm path returns several lines, the app is installed as a set of APKs. A typical set includes base.apk plus configuration files for things such as CPU architecture, language, or screen density. Pulling only base.apk may not be enough to reinstall or run the app. Keep the complete set together.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePowerShell can pull every path returned for the package into one folder:
Rank #4
- EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
- 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
- RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
- ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
- LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.
$package = "com.example.app"
$out = "$env:USERPROFILEDesktopBlueStacks-APK"
New-Item -ItemType Directory -Force $out | Out-Null
adb shell pm path $package | ForEach-Object {
$remote = ($_ -replace '^package:', '').Trim()
adb pull $remote $out
}
If multiple devices are connected, target BlueStacks explicitly in both commands:
$serial = "127.0.0.1:PORT"
$package = "com.example.app"
$out = "$env:USERPROFILEDesktopBlueStacks-APK"
New-Item -ItemType Directory -Force $out | Out-Null
adb -s $serial shell pm path $package | ForEach-Object {
$remote = ($_ -replace '^package:', '').Trim()
adb -s $serial pull $remote $out
}
To install an exported split set with ADB, provide the names of the files you actually pulled:
adb install-multiple base.apk split_config.arm64_v8a.apk split_config.en.apk split_config.xxhdpi.apk
The names above are examples, not a universal set. Android’s ADB documentation describes install-multiple for installing multiple APKs that belong to one application.
APK export or BlueStacks backup?
| Your goal | Better option |
|---|---|
| Get the installed application package file or files | ADB extraction |
| Preserve local progress, app settings, controls, macros, or instance setup | BlueStacks backup and restore |
| Install an APK from Windows into BlueStacks | BlueStacks’ Install APK tool |
| Export screenshots, videos, or other media | BlueStacks Media Manager |
An APK is the application package, not a complete backup. Extracting it generally does not copy login credentials, local databases, preferences, downloaded game assets, or other app data. It also cannot carry over cloud progress, purchases, or account access. If your aim is to preserve the working BlueStacks installation and its data, use BlueStacks backup and restore instead. BlueStacks notes version compatibility limits: restoring a backup across BlueStacks versions is not guaranteed, particularly when moving from a newer version to an older one.
Best Value
- 【Efficient Performance】 Powered by Intel Core i3 processor (2 cores, 4 threads, up to 3.4GHz) with 12GB RAM and 256GB SSD. Handles multitasking, office software, online classes, and HD video streaming smoothly. Integrated Intel UHD Graphics 620
- Backlit Keyboard & Complete Package】Comes with a cool backlit keyboard. Comes with awebcam, dual stereo speakers (8Ω/1.0W each), DC charger, and user manual – ready for late-night studying, online classes, video conferencing, and daily productivity
- 【Vibrant Display】 15.6-inch Full HD (1920x1080) anti-glare screen with 16:9 aspect ratio delivers crisp images and vivid colors – perfect for studying, watching lectures, or entertainment. Thin-bezel design maximizes viewing area
- 【Fast Connectivity & Expansion】 Equipped with WiFi 6 (802.11ax) and Bluetooth 5.2 for stable, high-speed wireless. Features 3 x USB 3.0, HDMI 2.1, Type-C (supports PD3.0 fast charging), and a TF card slot expandable up to 2TB – easily connect external monitors, mice, drives, or expand storage for all your files
- 【Long Battery Life & Portable】 Built-in 11.55V 5000mAh/57.75Wh high-capacity battery delivers approximately 7 hours of mixed-use battery life – enough for a full day of classes and assignments. Lightweight at just 1.63kg (3.6 lbs) and 19.5mm thin, plus a compact packing size – easily slips into a backpack for campus, library, or coffee shop
Troubleshooting
“adb is not recognized”
Install Platform-Tools, open a terminal in its folder, or run adb.exe using its full path. For example, change the path below to your actual Platform-Tools location:
cd C:pathtoplatform-tools
adb version
ADB cannot connect or shows no device
Confirm BlueStacks is running, ADB is enabled for the active instance, and you’re using that instance’s actual port. Restart the ADB server and reconnect:
adb kill-server
adb start-server
adb connect 127.0.0.1:PORT
adb devices
Check that a firewall or security tool is not blocking the local connection. If the list contains more than one device, specify the BlueStacks serial with -s.
Free tools Windows power users keep installed
One-click scans. No signup required.
The package is not found
Check the package name carefully and confirm the app is installed in the currently connected instance. List third-party packages again with adb shell pm list packages -3; another BlueStacks instance can have a different set of installed apps.
“Permission denied” when pulling
Check that you copied the exact path returned by pm path and that the app is installed in the connected instance. Access to the path may be restricted by the emulator build or configuration; ADB extraction is not guaranteed to work for every app. If it remains inaccessible, use the app’s original authorized source or a BlueStacks backup when your goal is to preserve the instance.
The APK copies successfully but will not install or run
Check whether pm path returned multiple files and, if so, export the whole set. The app may also need separately downloaded assets, Google Play Services, a compatible Android version or CPU architecture, or account, installer, or license verification. A successful copy proves only that the file was transferred—it does not establish that the app can operate independently on another device or emulator.
Use extracted APKs responsibly
Only extract and use apps you are authorized to access. Copying an APK does not remove licensing, subscription, DRM, account, or security checks, and it does not grant permission to redistribute proprietary software. For a straightforward reinstall, the app’s original source—such as Google Play or the BlueStacks Store—may be more reliable than a copied package. BlueStacks’ documented installation options include its Store, Google Play, APK, and XAPK files.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

