
In addition, the advanced settings of the utility allow you to interact with services that run during the BlueStacks emulator: BS Android, BS Log Rotator, BS Updater, etc. Additional BSTweaker options include editing tools and ID parameters, such as GUID (IMEI), AndroidID and Google Advertising ID.

You can also change the storage folder and set up shared folders. Using them, you can set the right size for the system and memory card, change the size of the emulator's RAM, change the standard of graphics processing (OpenGL, DirectX 9, DirectX 11), set the appropriate size of the window and the resolution of the emulator screen. In addition, the "General" interface contains settings that allow you to change many parameters directly related to the work of the emulator. Here users can find full information about BlueStacks emulator installed on their computer (software version, system and SDCard memory, application installation folder, data storage folder and shared folders). The main tab "General" contains the main application settings. The BSTweaker utility is a small portable application with a simple Russified interface consisting of only two tabs.

Hence that could be one of the reason why you could not add adb to bluestack4. Each time i open up my bluestack emulator, i notice that its ip is always different.

(Even if you had detect the device using adb devices command earlier on). Hence i think the problem both of us are encountering could be due to bluestack device ip has changed. I did exactly as the chosen approved answer but i still could not connect my android studio to Bluestack 4.
