To install Flutter on a system that already has Anaconda installed, follow these steps:
Download and install the Flutter SDK from the official website.
Extract the downloaded file to a suitable location, such as /usr/local/flutter.
Add the Flutter SDK/bin directory to the PATH environment variable by running the following command:
export PATH=/usr/local/flutter/bin:$PATH
Ensure that the path to the Android SDK is set correctly by running the following command:
flutter doctor --android-licenses
If any Android licenses are missing, accept them by typing y and pressing Enter.
Run the following command to verify that Flutter is properly installed:
flutter doctor
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.
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
Asked: 2022-05-12 11:00:00 +0000
Seen: 12 times
Last updated: Jun 09 '21
On Mac OS, there is a problem with tkinter when it is combined with pygame.
The content inside my buttons is not visible on the screen.
What causes peep and pop operations to produce invalid outputs?
What does the message "No tests found" from playwright VSCode mean?
Why does SVG fail to display in Safari, but functions properly in Chrome?