Open gitathrun opened 5 years ago
+1
I needed to start adb on the host with adb -a -P
The way I am using real devices now is to spin up a separate container for each device and share the /dev/bus/usb:/dev/bus/usb volume. Then i simply set environment var ANDROID_SERIAL= to the specific device ID for each container. This way screen mirroring and so on works on each instance, which you can target individually.
+1
💬 Questions and Help
Please make sure that it is an issue / a feature request. If it is a question / help wanted, please visit our group chat. Thank you!
Hello, I am trying to the real-device version of the docker image, but when I try to "adb -H " to the host machine adb server, following error shows:
My host machine is Linux and my docker info is listed below, the real android device is connected to this host machine and the host machine adb cmd can recognise the device as well. And I try to access the Host Linux machine from a PC (my development machine).
I have used the x86 simulator version docker image, it works fine when I access the emulator from a remote PC, and the virtual device show up in my Android Studio. But why it blocks the real device docker?