Skip to main content

how to install flutter in linux mint:

What is Flutter?

A news item image       Flutter is Google’s portable UI toolkit for building beautiful, natively-compiled applications for mobile, web, and desktop from a single codebase.
  And Flutter have Many characteristics and you can see here

How to Install it in your Linux Machine?

  1. You can download the Flutter package here.
  2. Extract the file in a separate folder.
    1.  cd ~/development
    2.  tar xf ~/Downloads/flutter_linux_v1.5.4-hotfix.2-stable.tar.xz
  3. Add the flutter tool to your path:
    1.  export PATH="$PATH:`pwd`/flutter/bin"
  4. And enter the code  flutter precache to check the flutter installed.
  5. And Run Flutter Doctor By the command  flutter doctor to see any folder is missing for that.

(From Flutter.dev)

Android Setup:

  1. Download and install the android studio.
  2. Start Android Studio, and go through the ‘Android Studio Setup Wizard’. This installs the latest Android SDK, Android SDK Platform-Tools, and Android SDK Build-Tools, which are required by Flutter when developing for Android.

Setup android Emulator:

  1. To prepare to run and test your Flutter app on the Android emulator, follow these steps:
  2. Enable VM acceleration on your machine.
  3. Launch Android Studio > Tools > Android > AVD Manager and select Create Virtual Device. (The Android submenu is only present when inside an Android project.)
  4. Choose a device definition and select Next.
  5. Select one or more system images for the Android versions you want to emulate, and select Next. An x86 or x86_64 image is recommended.
  6. Under Emulated Performance, select Hardware - GLES 2.0 to enable hardware acceleration.
  7. Verify the AVD configuration is correct, and select Finish.
  8. For details on the above steps, see Managing AVDs.
  9. In Android Virtual Device Manager, click Run in the toolbar. The emulator starts up and displays the default canvas for your selected OS version and device.
Credits: Flutter.dev.

Comments

Popular posts from this blog

How to install wordpress in linux

WordPress is a powerful, free and open-source, highly pluggable and customizable CMS that is being used by millions around the world to run blogs and fully functional websites. It is easy to install and learn, especially for persons who do not have prior website design and development knowledge. Step 1: Install Apache Web Server    To install apache server follow the instructions below     $ sudo apt-get install apache2 apache2-utils       Now we need to check whether it is installed or not     Go to the browser and type localhost if it is shown like this then no problem your apache is installed successfully   NOTE: The default Apache root directory is /var/www/html all your files are stored in the directory. STEP 2: Install MYSQL Database Server:    Now we need to install the MYSQL Database Server by running this command    $ sudo apt-get install mysql-client mysql-server During the package installation, you will be prompted to set the  root  user passwo

How to install Blender 2.80 (beta) in Linux:

About Blender:        Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing and motion tracking, even video editing and game creation. How to install the beta version: Download the latest version of the blender from here  . It will download an tar.gz folder. Extract the folder . Jump into the folder   and click on the Blender named file it will direct to the latest version but don't click on the blender.desktop file. Then it will open the blender window like this.