
WSL and Windows - Download the latest Command Line Tools from the link above and extract the .Android Studio requires OpenJDK version 8 or above to be installed.WSL and Windows - Create a directory called android wherever you specify your SDK files.

Commands for Windows are being run in PowerShell and bash in the WSL.įeel free to customize names or directory locations in the following steps where necessarily to meet your requirements or accommodate them to your existing development environment. This was set up using the Ubuntu 20.04 for the WSL machine and probably works for other Linux distros.

Setup is required for both the Windows host and the WSL in order to make this work.

One option was using Android Studio, but that meant giving up the uniformity of my development process. Recently, working with BookSloth on their Android app, I wanted to run and debug the app locally. Having all my projects in VS Code within WSL has been a great development experience. Paired with VS Code and its remote development feature, it is a powerful alternative to the traditional MacOS and Linux development environments. The Windows Subsystem for Linux (WSL) has been a game-changer for software development on Windows.
