I couldn’t find an executable to add to PATH, but you can create an alias alias android-studio=$HOME/Applications/android-studio/bin/studio.Setting up the Android SDK for Visual StudioĮlements requires the Android SDK in order to build apps for the Android platform. Running flutter doctor should no longer find issues tar xfv $(ls -1t $HOME/Downloads/android-studio-* | head -n1) Code language: JavaScript ( javascript )Ĭonfigure flutter to use this installation flutter config -android-studio-dir $HOME/Applications/android-studio/ Code language: PHP ( php ) mkdir -p $HOME/Applications & cd "$_" Code language: PHP ( php )Įxtract the Android Studio files from the archive to the Applications directory. (Right-click the download button and select “Copy link address” to copy the address of the archive.) wget https: ///edgedl/android/studio/ide-zips/2020.3.1.26/android-studio-2020.3.1. Code language: JavaScript ( javascript )Ĭreate an Applications directory if it doesn’t already exist, and navigate to it. You’ll find the Linux download somewhere on the page. mkdir -p $HOME/Downloads & cd "$_" Code language: PHP ( php )ĭownload Android Studio for Linux. Install Android StudioĬreate a Downloads directory if it doesn’t already exist, and navigate to it. This post is inspired by these simple steps there to make this easy for folks to copy for Android Studio. This can guide you through getting Flutter and also the Android SDK with some copy & paste commands. To start with, you’ll want to read Installing Flutter 2.0 on WSL2 by Josh Kautz. I’m trying to do some “modern” Android development and want to experiment with Flutter while running Windows, and WSL2 with Ubuntu.įlutter isn’t as easy to install as some programs, no simple apt-get etc, but instead a collection of binaries distributed by different organizations that all need to be tied together.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |