Flutter SDK location after install with ubuntu snap

4,623

I installed the same way, and I found the flutter SDK in my home path under snap flutter common flutter

/home/foobaruser/snap/flutter/common/flutter

also, you can check your path with

flutter doctor -v
Share:
4,623
de1337ed
Author by

de1337ed

Updated on November 24, 2022

Comments

  • de1337ed
    de1337ed over 1 year

    I'm trying to get Flutter + Android Studio set up as per the guidelines in https://flutter.dev/docs/get-started/install/linux

    I installed flutter using ubuntu "snap" by running:

    $ sudo snap install flutter --classic
    

    When setting up a Flutter project in android studio now, it's asking me to enter a Flutter SDK path. I can't find a path that satisfies the flutter SDK path requirement. The one that I tried so far is /snap/flutter/current but that didn't seem to work. Any ideas on where the SDK is located before I go ahead and redownload it to some local directory in /home/...?

  • Chinky Sight
    Chinky Sight over 3 years
    Yes exactly it was inside the home directory. When perform which flutter it gave /snap/bin/flutter don't know why. Anyway thank you for your help :D
  • Anoop Thiruonam
    Anoop Thiruonam about 3 years
    This should be marked as correct answer! Thank you my friend!