Skip to content

Instantly share code, notes, and snippets.

@pcornier
Created July 8, 2025 11:03
Show Gist options
  • Select an option

  • Save pcornier/37f69c5dfad63f587c8ee4fa22d2ef71 to your computer and use it in GitHub Desktop.

Select an option

Save pcornier/37f69c5dfad63f587c8ee4fa22d2ef71 to your computer and use it in GitHub Desktop.
Android Studio with emulator support in WSL2
# install dozen
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update
sudo apt upgrade
# run android studio with permissions
export LD_LIBRARY_PATH=/usr/lib/wsl/lib
sudo -u <user> ./android-studio/bin/studio
@pcornier
Copy link
Author

For physical device
on windows: adb tcpip 5555
on WSL2: adb connect $phone_ip:5555

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment