lashadow.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 .Unlike Windows, the Android Studio version of Linux based OS aren't an automatic installer that will setup all for you, so you need to know how to configure Android Studio manually if you want to work with Android in Linux environments.
  • 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.
  • 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.

    install android studio ubuntu 20.04

    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.

    install android studio ubuntu 20.04

    The problem came when running the emulator.

    install android studio ubuntu 20.04

    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