How to connect Android Studio running inside WSL2 with connected devices or android emulator running on host
问题 I'm running Android Studio (currently in version 3.6.1) under Ubuntu 18.04 in WSL 2 (Windows 10 2004), which now supports GUI. Since virtualization inside WSL2 doesn't work, I need to keep running my emulator on the host and of course, connected devices which I use for debugging my android app appear on the host. How can Android Studio see the emulator and devices appearing on the host? 回答1: There is a way for the connected devices, but this has to be done one by one: on windows:adb tcpip