railvur.blogg.se

Install android studio ubuntu 20.04
Install android studio ubuntu 20.04







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.

install android studio ubuntu 20.04

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.

install android studio ubuntu 20.04

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

  • Code project is cloned inside the WSL file system.
  • With this configuration, you’ll be able to do all your development inside the WSL with VS Code and debug your application on an emulator running on the Windows host. The solution was to run the emulator on the Windows host and bridging it to the WSL setup. WSL does not support virtualization out-of-the-box, and adding virtualization required experimental configurations. The problem came when running the emulator. So I started setting up the project and the Android SDK in the WSL only.

    install android studio ubuntu 20.04

    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.









    Install android studio ubuntu 20.04