android - 无法将bluestacks与android studio连接到本地主机:5555 in windows

标签 android android-studio localhost ports bluestacks

unable to connect to localhost:5555: cannot connect to localhost:5555: No connection could be made because the target machine actively refused it. (10061)

在 Windows 10 中尝试将 bluestacks 连接到 android studio 时出现此错误。

using a laptop with intel pentium p6100. :)

最佳答案

不知道是否为时已晚,但请尝试:

adb connect 127.0.0.1:5555

对于 Windows PowerShell:

./adb connect 127.0.0.1:5555

如果要与 Android Studio 一起使用,请先打开 Bluestacks,然后打开 Android Studio。

干杯。

关于android - 无法将bluestacks与android studio连接到本地主机:5555 in windows,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49292209/

相关文章:

Android volley proguard 抛出 java.lang.RuntimeException : Stub

android - Flutter - 无法构建插件 firebase_core

regex - 什么正则表达式将匹配所有环回地址?

security - 本地主机上的 TCP 连接是否安全?

android - 组织.json.JSONException : Expected literal value at character 550 of

android - 无法在 androidTest 中使用 Kotlin 反引号方法名称 - 描述符异常错误

android - 自定义字体字符分开?

java - API 'variant.getMergeResources()' 已过时,已替换为 'variant.getMergeResourcesProvider()'

Android Studio 集成 Google Maps API v2

PHP7.1 上的 phpMyAdmin mcrypt 错误