How do you adb to bluestacks 4?

后端 未结 3 1880
名媛妹妹
名媛妹妹 2020-12-17 16:37

I\'d like to connect to android emulator on bluestacks 4 with adb. but I\'ve got an error with adb.exe -s emulator-5554 shell

checking devices.

<
3条回答
  •  失恋的感觉
    2020-12-17 17:26

    First, in Bluestacks, go to Settings -> Preferences -> Enable Android Debug Bridge (ADB). Like this:

    At this point, Bluestacks enables its adb functionality and exposes itself to the localhost at port 5555 (the default port)

    So, in your command line, type adb connect localhost:5555 and you should be good to go.

提交回复
热议问题