Minimal Android Virtual Device emulator on Windows that can link to WSL2.
Highly recommend going through this guide to make this work as intended.
-
Install the Android dependencies
-
Make sure you have set the following to your PATH:
<Android Installation Destination>\cmdline-tools\tools\bin
<Android Installation Destination>\emulator
<Android Installation Destination>\platform-tools
- Run the
connector.bat
.
-
echo -e "export ADB_SERVER_SOCKET=tcp:\$(cat /etc/resolv.conf | grep nameserver | cut -d' ' -f2):5037" >> $HOME/.bashrc;
-
source $HOME/.bashrc