Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect Bluestacks to Android Studio

People also ask

How do I connect my Android to BlueStacks?

To send your favorite mobile apps to the BlueStacks app player, select them in the BlueStacks Cloud Connect app on your phone or tablet, press the Sync button, and subscribe to them via the Cloud Connect menu link in the BlueStacks channel that opens when you click the 'Get More Apps' shortcut in the player.

Can I use BlueStacks for app development?

You can easily use it in Bluestacks 5 by going to: Settings. Advanced. Enable Android Debug Bridge.

How can I use BlueStacks as an emulator in Visual Studio code?

Just open bluestacks and go to settings. Then go to preferences and tick the checkbox just beside the option enable Android Debug Bridge(ADB). Then if you open Visual Studio Code and search for devices you will find bluestacks android emulator in the list of devices.

Is there BlueStacks for Android?

BlueStacks 5 lets you create and run the following types of instances: Nougat 32-bit (default): This is the Android Nougat 32-bit version that you can use for playing Android games, such as Free Fire and Call of Duty: Mobile. Most games work on this Android version and it is the default.


Steps to connect Blue Stack with Android Studio

  1. Close Android Studio.
  2. Go to adb.exe location (default location: %LocalAppData%\Android\sdk\platform-tools)
  3. Run adb connect localhost:5555 from this location.
  4. Start Android Studio and you will get Blue Stack as emulator when you run your app.

In my case I don't need to start adb.exe. I only started the BlueStacks before android studio.

After that when I press "Run" in android studio, bluestacks was detected as a new emulator.

enter image description here

enter image description here


I Solved it. I just had to add the path of android studio's platform-tools after removing my earlier eclipse's path. I don't know, maybe some conflict in the command.


world !

No need to do execute batch command. With the current version, just run BLUESTACKS before ANDROID STUDIO