alesimula / wsa_pacman

A GUI package manager and package installer for Windows Subsystem for Android (WSA)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

win11 Could not establish a connection with WSA: Either developer mode and USB debuggin are disabled or a wrong port is specified.

1233Ao opened this issue · comments

I'm sure everything that needs to be opened is turned on, I can connect normally a few days ago, today suddenly it doesn't work, I uninstall wsapacman version 1.4.0 and install version 1.4.1, but still can't connect

QQ图片20230625124856
QQ图片20230625124914
QQ图片20230625124917
QQ图片20230625124921

Try to open a terminal inside the "embedded-tools" directory in the WSA-PacMan program dir and run the command "adb disconnect", then try "adb kill-server"

I restarted my computer and waspacman was running normally =-=

@1233Ao this seems to be caused by the new "Partially Running" option in WSA Settings -> Advanced Settings -> Memory and Performance

It seems that, with this option enabled, WSA goes into an idle state when left running for too long, but I do not know how to check for this state, so I declare the state as "Disconnected" when it should be "Turned off"...

I'll try to look into this, but in the meantime, opening any Android app should fully turn it on

@1233Ao Actually nevermind, I managed to find a way to detect if the WSA is actually fully running, there shouldn't be this issue in version 1.5.0