Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluestacks5 hyper-v adb每次端口号都会变,设置config文件无效 #486

Closed
Gxyloj opened this issue May 11, 2022 · 8 comments
Closed
Labels
bug Something isn't working

Comments

@Gxyloj
Copy link

Gxyloj commented May 11, 2022

image
adb端口每次都会变化,每次用都要到软件设置里改自定义地址
image
目录下没有发现bluestacks.conf文件,设置了BlueStacksHelper.exe.config的路径连接不上
image
[2022-05-11 12:12:08.727][TRC][Px46a4][Tx5a80] asst::Controller::call_command | leave, 8525 ms
[2022-05-11 12:12:08.727][TRC][Px46a4][Tx5a80] asst::Controller::call_command | enter
[2022-05-11 12:12:08.934][TRC][Px46a4][Tx5a80] Call "C:\Program Files\BlueStacks_nxt\HD-Adb.exe" -s 127.0.0.1:5555 shell dumpsys window displays | grep init= | awk ' { print $3 } ' ret 1 , output size: 42
[2022-05-11 12:12:08.934][TRC][Px46a4][Tx5a80] output: error: device '127.0.0.1:5555' not found

[2022-05-11 12:12:08.934][TRC][Px46a4][Tx5a80] asst::Controller::call_command | leave, 207 ms
[2022-05-11 12:12:08.934][TRC][Px46a4][Tx5a80] connect_adb 127.0.0.1:5555 | leave, 8732 ms
[2022-05-11 12:12:08.934][TRC][Px46a4][Tx5a80] connect_adb 127.0.0.1:5556 | enter
[2022-05-11 12:12:08.934][TRC][Px46a4][Tx5a80] asst::Controller::call_command | enter
[2022-05-11 12:12:11.069][TRC][Px46a4][Tx5a80] Call "C:\Program Files\BlueStacks_nxt\HD-Adb.exe" connect 127.0.0.1:5556 ret 0 , output size: 132
[2022-05-11 12:12:11.069][TRC][Px46a4][Tx5a80] output: unable to connect to 127.0.0.1:5556: cannot connect to 127.0.0.1:5556: 由于目标计算机积极拒绝,无法连接。 (10061)

[2022-05-11 12:12:11.069][TRC][Px46a4][Tx5a80] asst::Controller::call_command | leave, 2134 ms
[2022-05-11 12:12:11.069][TRC][Px46a4][Tx5a80] asst::Controller::call_command | enter
[2022-05-11 12:12:11.181][TRC][Px46a4][Tx5a80] Call "C:\Program Files\BlueStacks_nxt\HD-Adb.exe" -s 127.0.0.1:5556 shell dumpsys window displays | grep init= | awk ' { print $3 } ' ret 1 , output size: 42
[2022-05-11 12:12:11.181][TRC][Px46a4][Tx5a80] output: error: device '127.0.0.1:5556' not found

[2022-05-11 12:12:11.181][TRC][Px46a4][Tx5a80] asst::Controller::call_command | leave, 111 ms
[2022-05-11 12:12:11.181][TRC][Px46a4][Tx5a80] connect_adb 127.0.0.1:5556 | leave, 2246 ms
[2022-05-11 12:12:11.181][TRC][Px46a4][Tx5a80] connect_adb 127.0.0.1:5557 | enter
[2022-05-11 12:12:11.181][TRC][Px46a4][Tx5a80] asst::Controller::call_command | enter
[2022-05-11 12:12:13.320][TRC][Px46a4][Tx5a80] Call "C:\Program Files\BlueStacks_nxt\HD-Adb.exe" connect 127.0.0.1:5557 ret 0 , output size: 132
[2022-05-11 12:12:13.320][TRC][Px46a4][Tx5a80] output: unable to connect to 127.0.0.1:5557: cannot connect to 127.0.0.1:5557: 由于目标计算机积极拒绝,无法连接。 (10061)

[2022-05-11 12:12:13.320][TRC][Px46a4][Tx5a80] asst::Controller::call_command | leave, 2139 ms
[2022-05-11 12:12:13.320][TRC][Px46a4][Tx5a80] asst::Controller::call_command | enter
[2022-05-11 12:12:13.429][TRC][Px46a4][Tx5a80] Call "C:\Program Files\BlueStacks_nxt\HD-Adb.exe" -s 127.0.0.1:5557 shell dumpsys window displays | grep init= | awk ' { print $3 } ' ret 1 , output size: 42
[2022-05-11 12:12:13.429][TRC][Px46a4][Tx5a80] output: error: device '127.0.0.1:5557' not found

[2022-05-11 12:12:13.429][TRC][Px46a4][Tx5a80] asst::Controller::call_command | leave, 109 ms
[2022-05-11 12:12:13.429][TRC][Px46a4][Tx5a80] connect_adb 127.0.0.1:5557 | leave, 2248 ms
[2022-05-11 12:12:13.429][TRC][Px46a4][Tx5a80] asst::Controller::call_command | enter
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] Call "C:\Program Files\BlueStacks_nxt\HD-Adb.exe" devices ret 0 , output size: 28
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] output: List of devices attached

[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] asst::Controller::call_command | leave, 111 ms
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] device address
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | BlueStacksInternationalNewVersion | leave, 13339 ms
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | NoxInternational | enter
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | NoxInternational | leave, 0 ms
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | MuMuEmulator | enter
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | MuMuEmulator | leave, 0 ms
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | Nox | enter
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | Nox | leave, 0 ms
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | XYAZ | enter
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | XYAZ | leave, 0 ms
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | WSA | enter
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | WSA | leave, 0 ms
[2022-05-11 12:12:13.540][TRC][Px46a4][Tx5a80] try_capture | Custom | enter
[2022-05-11 12:12:13.541][TRC][Px46a4][Tx5a80] try_capture | Custom | leave, 0 ms
[2022-05-11 12:12:13.541][TRC][Px46a4][Tx5a80] asst::Assistant::catch_emulator | leave, 13342 ms
[2022-05-11 12:12:13.541][TRC][Px46a4][Tx5a80] asst::Assistant::catch_default | leave, 13343 ms

请问是没有适配新版的bluestacks还是我打开方式不对?

@Gxyloj Gxyloj added the bug Something isn't working label May 11, 2022
@AlisaAkiron
Copy link
Member

AlisaAkiron commented May 11, 2022

你是不是找错文件位置了。。。
bluestack.conf 在 BlueStack 本体安装路径下

你找的这个位置是 BlueStack HD Player 安装路径

@MistEO
Copy link
Member

MistEO commented May 11, 2022

似乎先安装的蓝叠,后来才开的 Hyper-V, 就没这个文件;反之才有。我也不太确定_(:з」∠)_

@Gxyloj
Copy link
Author

Gxyloj commented May 11, 2022

image
这个应该就是本体的安装目录没错吧?在这里面只有上面的几个config文件。
我把Hyper-V关掉再打开试试

@AlisaAkiron
Copy link
Member

不长这样,这个不是

image

@Gxyloj
Copy link
Author

Gxyloj commented May 11, 2022

我关掉HyperV重新装一下再打开试一下吧

@Gxyloj
Copy link
Author

Gxyloj commented May 11, 2022

image
只有装在C盘以外的路径才会有这样的文件结构。。。。而且这样装以后端口号就固定在5555了
问题解决

@Gxyloj Gxyloj closed this as completed May 11, 2022
@wlwxj
Copy link
Contributor

wlwxj commented May 19, 2022

装在c盘的话也有这个conf文件的,在C:\ProgramData\BlueStacks_nxt\bluestacks.conf

@Gxyloj
Copy link
Author

Gxyloj commented May 19, 2022

装在c盘的话也有这个conf文件的,在C:\ProgramData\BlueStacks_nxt\bluestacks.conf

不行,我装C盘不论是否开Hyper-V 装完以后再打开或者关上,目录结构都不一样 没有那个文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants