Set BlueStacks as the default emulator in Android Studio

BlueStacks can be useful when an Android Studio project needs to run inside a full Android gaming environment, especially for sensor, touch or performance checks. However, Android Studio does not treat BlueStacks as a standard Android Virtual Device. That difference determines whether BlueStacks can become a persistent Studio target or must be used as a connected device.

BlueStacks cannot be selected as the default AVD in Android Studio’s Device Manager because it is a separate emulator. You can still connect it through the Android Debug Bridge, run your app on it and let Android Studio retain it as the last selected target. For repeatable work, treat BlueStacks as an external device rather than a Studio-managed emulator.

Australia’s Windows-and-Mac developer market is mixed rather than tied to one operating system. A studio in Sydney or Melbourne may build on a Windows desktop while a tester uses a MacBook, and someone working from a Brisbane office or café may switch between a laptop and a home PC. BlueStacks is easiest to test when the host, virtualisation support and Android Studio SDK versions are recorded together.

Before changing anything, decide whether the aim is convenience or a genuine Studio-managed target. Convenience means launching an existing BlueStacks instance through ADB; a genuine default means creating an AVD from Android Studio. The first route works with the standalone BlueStacks product, while the second requires Android Studio’s own emulator and offers no BlueStacks selection.

What the default setting actually controls

Android Studio’s device chooser can contain physical phones, running emulators and devices exposed over ADB. A device created in Device Manager is an AVD, with its own system image, hardware profile and data directory. BlueStacks does not create that object, so it does not appear among AVD presets and cannot be assigned a persistent default in the same way.

After a successful ADB connection, BlueStacks may appear under its phone model in the device chooser. Selecting it for a run configuration sends the APK to that instance, while the Run menu can retain the most recently used target. This is the closest practical equivalent to setting BlueStacks as the default, but Android Studio still manages the build and deployment rather than BlueStacks itself.

Check BlueStacks compatibility on Mac and Windows

On Windows, confirm that the processor supports hardware virtualisation, enable it in UEFI or firmware if necessary and leave enough free disk space for the emulator and Android images. Memory can also be tight on an 8 GB laptop used for hybrid work in Australia, particularly when Android Studio, Gradle and BlueStacks are running simultaneously.

On a Mac, compatibility depends on the BlueStacks build, the Intel or Apple silicon processor and the macOS release. Check this Mac compatibility guide before installing, then confirm that your chosen Android Studio version supports the same Mac. A Windows BlueStacks package will not run on macOS.

Install BlueStacks from a suitable package

For platform-specific guidance and an offline installer option, consult BlueStacks download information. Verify the publisher or digital signature before running any package, and avoid mistaking third-party download buttons for the developer’s own installer.

After installation, launch BlueStacks and allow its Android instance to finish starting. Sign in only if the feature being tested requires an account, and avoid synchronising sensitive test files. In Australia, the Australian Consumer Law applies to claims about compatibility and paid add-ons, so inaccurate “supported” labels or unexpected charges remain a consumer issue rather than merely an installation inconvenience.

Keep BlueStacks, Android Studio and SDK Platform-Tools within the versions supported by your project. A newer graphics driver or BlueStacks release can change virtualisation behaviour, while an outdated Android SDK can produce build failures unrelated to the application. Record the working combination before creating scripts around it.

Enable Android debugging inside BlueStacks

Open BlueStacks settings, find the advanced controls and enable ADB debugging. Depending on the release, the option may appear as USB debugging or developer options, so use the settings search if it is not immediately visible. Restart the Android instance if requested and leave the main BlueStacks window running while Android Studio connects.

Android Studio communicates with the instance through localhost, so no LAN exposure is necessary. If you work from a shared office, café or phone hotspot, keep the connection on the same computer. ADB can provide powerful access to a test application, and a local-only setup avoids making an unauthenticated debugging port reachable through a public network.

Connect Android Studio to BlueStacks

Confirm that Android Studio’s SDK Manager includes the SDK Platform-Tools package, because its adb executable establishes the bridge. Restart ADB if an earlier emulator session is confused, then prepare the connection and run the required checks from Android Studio’s Terminal.

Prepare the local connection with these checks:

Use Android Studio’s Terminal for these connection commands:

If adb devices shows unauthorized, repeat the connection after accepting the debugging prompt inside BlueStacks. Some releases expose port 5556 or another local port, so use the port specified by that version instead of repeatedly creating duplicate connections. Once the serial appears, open the device chooser, select the BlueStacks instance and run the application as you would on a physical phone.

Automate testing and resolve common problems

Android Studio may display the connected instance under its phone model rather than the word BlueStacks. That is normal. The chooser can remember the last target, but no Device Manager command converts the connection into an AVD default. Save a named run configuration and record the local port and required SDK level instead.

Teams in Sydney, Melbourne and remote offices can use a version-controlled checklist so every developer follows the same sequence. The shared setup reference can be paired with those notes when onboarding colleagues across Australian locations.

If Android Studio cannot see the device, compare the output of adb devices with the serial shown in its device chooser. Reconnect the instance, confirm that Platform-Tools comes from the selected SDK and check for a stale adb.exe process on Windows. Port conflicts are frequent when several emulators are running; close the unused instance instead of changing random firewall rules.

Shared build servers also need separate accounts, caches and ports so one job cannot overwrite another. Use synthetic test data wherever possible. For covered organisations, the Australian Privacy Act 1988 and Australian Privacy Principles still apply when an application handles contacts, location or identifiers; using an emulator does not create an exception for personal information.

Build a repeatable BlueStacks workflow

Create a setup script for each host: a PowerShell or batch file on Windows and a shell script on macOS. It should start BlueStacks, wait for the Android instance, connect the chosen port and then open Android Studio. Use separate BlueStacks instances for test accounts where possible so parallel checks do not share application data.

Before each release candidate, test the app on both a Studio AVD and BlueStacks. The AVD provides quick emulator coverage, while BlueStacks can reveal differences in graphics, input handling and vendor libraries. Record crashes with the BlueStacks version, host operating system and Android API level so another developer can reproduce the issue.

Set up BlueStacks now, complete the local ADB connection and select the connected instance as your usual Android Studio target. Save the verified commands in your team notes, then reuse the same checklist for each Australian development environment.