If that’s the folder structure you end up with, then add these to your system path. Therefore, you end up with something like this: /home/your-username/Android/sdk or in other words, ~/Android/sdk ![]() zip into the folder ~/Android/, then rename the folder as sdk We don’t need the entire Android Studio enchilada)Įxtract the downloaded. Android’s SDKĭownload Android’s SDK (only the command line tool version. If that’s the case, follow the step below to install Android’s SDK. If you don’t have Android installed, Flutter doctor will diagnose the disease caused by the Lack of Android. On Debian/Ubuntu/Mint: sudo apt-get install lib32stdc++6 ✗ Downloaded executables cannot execute on host. In my case, one of the errors was this: Flutter (Channel master, v0.0.0-unknown, on Linux, locale en_US.UTF-8) bashrc file.įollow any prompts that might show up, and resolve accordingly. export PATH=~/.flutterSetup/bin:$PATHĭo source ~/.bashrc to reinitialize the terminal with the changes to the. ![]() ![]() Nano ~/.bashrc and add the text below to the bottom of the file. Next, add flutter to your system variables. ![]() Simply clone with a depth of 2 or 3, to download a relatively smaller working repository. Note, you might wanna save yourself from downloading the relatively big Flutter repository. I choose to have my Flutter setup in the ~/.flutterSetup hidden directory. We’ll be using the SDK for command line only.įirst of all, clone flutter. If you wanna learn the installation of the Studio, this ain’t the place for you. How to set up Flutter for the first time with Android’s SDK up and running.
0 Comments
Leave a Reply. |