Ask Your Question
2

How to install Flutter on a system that already has Anaconda installed?

asked 2022-05-12 11:00:00 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-06-09 13:00:00 +0000

djk gravatar image

To install Flutter on a system that already has Anaconda installed, follow these steps:

  1. Download and install the Flutter SDK from the official website.

  2. Extract the downloaded file to a suitable location, such as /usr/local/flutter.

  3. Add the Flutter SDK/bin directory to the PATH environment variable by running the following command:

    export PATH=/usr/local/flutter/bin:$PATH
    
  4. Ensure that the path to the Android SDK is set correctly by running the following command:

    flutter doctor --android-licenses
    
  5. If any Android licenses are missing, accept them by typing y and pressing Enter.

  6. Run the following command to verify that Flutter is properly installed:

    flutter doctor
    
  7. Finally, if you want to use Anaconda with Flutter, create a new Anaconda environment and activate it before running Flutter commands. For example:

    conda create -n myenv python=3.8
    conda activate myenv
    flutter doctor
    

This ensures that Flutter uses the correct version of Python and any required packages are installed in the Anaconda environment.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-05-12 11:00:00 +0000

Seen: 12 times

Last updated: Jun 09 '21