![]() For this tutorial, we will use a Pixel 2.Ĭlick Next and select an Android version to download and use on the virtual device. Once the Virtual Device Manager opens, click the Create Device button and select a device you would like to use. ![]() Then click the Virtual Device Manager to start creating a virtual device. Cancel the SDK Manager if it is still open and click the More Actions button inside the original Android Studio window. Once you have installed KVM from the link above, you can proceed to create a virtual device. Learn about KVM and how to fix this error here. If you try creating a virtual device right away, you will probably get an error about needing /dev/kvm installed before you can proceed. The next stage is to create a virtual device to test our Flutter app. Accept all the prompts or select a location for the SDK and other folders and click the Finish button when done.Īfter Android Studio has installed the SDK and other core files, click the More Actions button on the application that opens up and select SDK Manager.Ī page will open up where you can install the latest SDK Command-Line tools and Google Play services for our virtual devices. When the installation guide comes up, you may choose to do the default installation or the custom installation that allows you to select file locations for the SDK. That error can be ignored because SDKs will be installed later. The first time you run Android Studio, an error about not being able to find SDKs may pop up. Still inside the /usr/local directory, run android-studio/bin/studio.sh to launch Android Studio. ![]() In your terminal, make a Development folder. Let's install Flutter on our newly operational Ubuntu system. We are now ready to run actions inside our Ubuntu filesystem. Reopen your terminal, and you should see that the starting directory should be much shorter. Under the Profiles section, click Ubuntu and edit the starting directory to /home/your-user-name/ and save the changes. While in the Settings, we can also edit our starting directory to make it shorter and less clunky. Under Startup, change the default profile to Ubuntu so that every time you open the Windows Terminal, you can work seamlessly inside Ubuntu. Click the dropdown arrow next to the open PowerShell tab and go to Settings. Install Windows Terminal or Windows Terminal (Preview) from the Windows Store if you do not have it already.īy default, it will open Windows PowerShell, but we can set it to use Ubuntu instead. ![]() Now we need a terminal to run these Linux commands. Install and Customize the Windows Terminal This means WSL2 is now fully installed, and we can run Linux commands without having to dual boot or use a virtual machine. When you have created your user, check the Windows File Explorer, and you will see a new Linux section that has all your Ubuntu files, including the home folder which we will work from most of the time. Enter a username and password to create a new Ubuntu user who will have administrative control whenever you need to run a sudo command. You may need to restart your computer when the installation completes.Īfter restarting your computer, open the Start menu and click the newly installed Ubuntu on Windows application. Enter fullscreen mode Exit fullscreen mode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |