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

Can't connect inside a docker container #931

Closed
DillerDurak opened this issue Jan 11, 2024 · 1 comment
Closed

Can't connect inside a docker container #931

DillerDurak opened this issue Jan 11, 2024 · 1 comment

Comments

@DillerDurak
Copy link

While connecting to a device I get ConnectionRefusedError (image 1), though in docker-compose file I added extra_hosts and enviroment (image 2). Also I can get list of connected devices from the container using adb devices and do another adb things such as shell and stuff. Why I can't do same things in uiautomator2 (version 2.16.14)?
image
image

@codeskyblue
Copy link
Member

try to change ANDROID_ADB_SERVER_ADDRESS to ANDROID_ADB_SERVER_HOST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants