Connect Bluestacks to Android Studio
Steps to connect Blue Stack with Android Studio
- Close Android Studio.
- Go to adb.exe location (default location:
%LocalAppData%\Android\sdk\platform-tools
) - Run
adb connect localhost:5555
from this location. - 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.
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.