1

error setting up flutter for android studio

I tried: repeating the process deleting android studio and restarting

error creating project

cannot create a project within the Flutter SDK Target directory C:\src\flutter\packages\flutter_tools\flutter_app

is within the flutter SDK at C:\src\flutter

4
  • 1
    It sounds like you're trying to create a project within the flutter sdk folder. Try recreating it in a different location outside of this folder Commented Aug 12, 2019 at 2:22
  • Oh so the place where I would store the project should be different? Commented Aug 12, 2019 at 2:34
  • that is correct Commented Aug 12, 2019 at 3:08
  • awesome! I tried that and it works! thanks! Commented Aug 12, 2019 at 12:34

2 Answers 2

5

Please do not create a project within the Flutter SDK directory.
Please create your project in another directory.

Sign up to request clarification or add additional context in comments.

Comments

0

check the flutter sdk

file - > settings -> languages -> Flutter

enter image description here

2 Comments

I checked it but I'm confused what I am to do the path says: C:\src\flutter
@Edwin This shows you where the Flutter SDK is, and once you know that, you can avoid creating your projects therein, because as the message clearly states, Flutter doesn't allow that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.