Using Bluestack emulator as Android Virtual Device in intellij , Android Studiio or VS Code
Table of contents
Installation of Bluestack
Download Bluestack from the official website.
Go to settings in Bluestack app player
Android Debug Bridge
Find Path of platform_tools inside of Android SDK directory. and copy path.
C:\Users\{PC_ID}\AppData\Local\Android\Sdk\platform-tools
Win key + type "ev" and go to environment path settings
Click Environment variables setting(N) button.
On second part - system variable(S),
add C:\Users\{PC_ID}\AppData\Local\Android\Sdk\platform-tools and apply and save.
Open cmd
type "adb connect 127.0.0.1:port" .port is in Bluestack app player Setting > Advenced >ADB
Automatically the App player is detected in Intellij IDE, VS code or Android Studio.