$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Flutter Installation in Ubuntu 20.04 – Step-by-step

August 4, 2023 | By the+gnu+linux+evangelist.

Getting Started

  1. 5. Installing Android Studio

    How to Install Android Studio in Ubuntu

    Android SDK Ubuntu Setup Guide

    During the First Configuration Provide to Setup the Android SDK in the Default “~/Android/Sdk” Target.
    And then if Not already done provide also to Set the User’s PATH with nano Editor like:

    nano ~/.bashrc

    Appending:

    /nexport ANDROID_HOME=$HOME/Android/Sdk/nexport ANDROID_SDK_ROOT=$ANDROID_HOME/nexport ANDROID_PATH=$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/cmdline-tools/bin/nexport PATH=$PATH:$ANDROID_PATH
    

    Ctrl+Shift+v to Paste in with nano.
    Ctrl+x to Save & Exit from nano Editor.
    Last, to refresh the Bash Configuration:

    bash
  2. 6. Achieving Flutter Setup

    Now to Complete Flutter Setup
    First, try to Accept the Licenses:

    flutter doctor --android-licenses

    In case of Issue, Update your Android Setup:

    touch ~/.android/repositories.cfg
    sdkmanager --update

    And again:

    sdkmanager --install --sdk_root=~/Android/Sdk "cmdline-tools;latest"

    Currently you are further bound to make a very Questionable??? Trick:

    mkdir $ANDROID_HOME/cmdline-tools/latest
    mv $ANDROID_HOME/cmdline-tools/* $ANDROID_HOME/cmdline-tools/latest

    And so consequently, if needed amend also the User’s PATH with Sed:

    sed -i "s/cmdline-tools\/bin/cmdline-tools\/latest\/bin/g" ~/.bashrc

    Without the latest one easily you be unable to Agree to the Licenses…

    And now, if you still miss it, see: How to Install Install Google-Chrome!

    Last, Congrats your Setup should be successfully achieved:

    flutter doctor
    Flutter doctor success
  3. 7. Flutter Getting-Started Guide

    Getting-Started with Flutter for Ubuntu GNU/Linux

    Flutter QuickStart Tutorial
  4. So Now I’m truly Happy if My Guide could Help You to QuickStart with Flutter on Ubuntu!

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,