Connecting to a USB Android device in a Docker container via ADB

前端 未结 6 1060
鱼传尺愫
鱼传尺愫 2020-12-04 18:15

I have created a Docker image which contains the Android SDK and am trying to expose my Android phone in a container running this image. So I used the --privileged

6条回答
  •  暖寄归人
    2020-12-04 19:07

    I don't think the ADB daemon running on the device can be connected to two ADB servers. Try disconnecting it from your host machine's ADB and then connect it to the Docker container's ADB.

提交回复
热议问题