Connect Bluestacks to Android Studio

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