title: Error: Setting VM flags failed: unrecognized flags: disable-dart-dev
body: <p>When I create or clone a flutter project in android studio it shows
  "Error creating project Setting VM flags failed: Unrecognized flags:disable-dart-dev"</p>
  
  <p>I am using Android Studio version 4.0 and I have made couple of android and flutter apps before. Creating or running project never generated errors. </p>
  
  <p>After cloning the project, I have tried "Pub get" command and "get dependencies" command which gave the Unrecognized flags error. To give it a try, I also run the "upgrade dependencies" command which gives me another error:
  "Flutter device daemon #3: process exited during startup. Exit code: 255, stderr: Setting VM flags failed: Unrecognized flags: disable-dart-dev"</p>
  
  <p>For information, I already have updated versions of flutter(1.17.2) and dart plugins.
  The cloned Project name is "magic-8-ball-flutter"  <a href="https://github.com/londonappbrewery/magic-8-ball-flutter.git" rel="nofollow noreferrer">github link for the cloned project</a></p>
  
  <p><a href="https://i.stack.imgur.com/XSjUu.png" rel="nofollow noreferrer">upgrade dependencies error after cloning project</a>
  <a href="https://i.stack.imgur.com/SyDSE.png" rel="nofollow noreferrer">opening a cloned flutter project</a> </p>
  
  <p><a href="https://i.stack.imgur.com/IoNVQ.png" rel="nofollow noreferrer">creating a project</a>
  <a href="https://i.stack.imgur.com/BU1kp.png" rel="nofollow noreferrer">error when creating a new flutter project</a></p>