How to Use BlueStacks as an Android Studio Emulator

bardimin pic

Written by Bardimin

On April 11, 2022
Home » Blogs » Android » How to Use BlueStacks as an Android Studio Emulator

is lighter and faster than the Studio , so it is very suitable as an alternative .

As an developer, you are probably used to running your android projects using an Android (AVD). To run AVD smoothly requires good PC/ specifications. If your PC specifications are not good, using an AVD will feel very slow and annoying.

BlueStacks is one of the most popular android emulators because it is light and fast. You can use as emulator of Android Studio to run your project.

BlueStacks AVD

In this tutorial using:

  • Android Studio Bumblebee
  • BlueStacks 5

How to connect BlueStacks to Android Studio

1. Enable Android Debug Bridge (ADB) in BlueStacks

To enable ADB you navigate to “ > Advanced ”. Then on the right panel on “Android Debug Bridge” turn it on by sliding the switch to the right. Then click the “Save changes” button to save the changes.

adb bluestacks

2. Connect adb to BlueStacks

Before connecting, you must first note the ADB port used by BlueStacks.

adb port

In the example image, BlueStacks can be connected to ” 127.0.0.1:64264 “.

The port used will change every time you start BlueStacks.

Connect adb which is located in the directory ” C:\Users\ UserName \ AppData \Local\Android\ Sdk \platform-tools” or % LocalAppData %\Android\ sdk \platform-tools”.

Open (CMD) and navigate to that directory, then connect adb to BlueStacks with the command

adb connect 127.0.0.1:64264
adb connect

3.Use BlueStacks as AVD

Next you open the project you created in Android Studio. In the device selection you will see a new device with the name “Samsung SM-G988N” according to the device name from BlueStacks.

adb connect02

Then you can use BlueStacks as an emulator to run your project.

Latest Articles

How to Know When Your Password Was Last Changed on Windows

How to Know When Your Password Was Last Changed on Windows

One easy method to ensure the security of user accounts is to enforce policies that require periodic password changes. One way to prompt users to change their passwords is to notify them when their passwords are about to expire. While it may not always be necessary,...

How to Restrict Data Input in Excel – Allow Only Certain Values

How to Restrict Data Input in Excel – Allow Only Certain Values

In Excel, you can restrict users by only allowing data input with the values you have specified. In this article, Bardimin will share some tricks to only allow the input of specific values in Excel cells. Data entry errors are a problem for any Excel user who wants...

How to Sum Number Columns and Rows in a Microsoft Word Table

How to Sum Number Columns and Rows in a Microsoft Word Table

Microsoft Word is known as a popular program for editing documents, but did you know that you can also perform calculations in Word? One of the biggest challenges faced during the manual data entry process is the possibility of errors in performing numerical...

Redirect and Block URLs with HOSTS File on Windows

Redirect and Block URLs with HOSTS File on Windows

Redirect and Block URLs you can easily on Windows. Just by adding the IP of a website, you can redirect or block it. Of course, this is very useful to limit the access of your employees or children from accessing websites that you do not allow. Your Windows PC has...

Repeating and Keeping Table Headings on Each Page in Microsoft Word

Repeating and Keeping Table Headings on Each Page in Microsoft Word

Using tables is one efficient and organized way to display data in rows and columns. Good table formatting will make the table visually appealing. If you often work with Microsoft Word documents, chances are you need to periodically use tables when recording data. In...