Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find an option named "devtools-server-address". when trying to run flutter app from AndroidStudio

I just updated Flutter plugin to 53.0.1, restarted Android Studio and hit "run" button and the error below show up:

Could not find an option named "devtools-server-address".
like image 953
Khamidjon Khamidov Avatar asked Feb 15 '21 20:02

Khamidjon Khamidov


4 Answers

Close and reopen AndroidStudio resolved for me!

killall java

like image 191
d3roch4 Avatar answered Nov 15 '22 10:11

d3roch4


I downgraded from Flutter 2.0 to Flutter 1.22.5 and got this error.

To solve it,

Go to your terminal and write flutter channel stable.

Then run flutter doctor.

Now you may get another error like this -

image

If you have Flutter & Dart plugins already install, just ignore this error. This is a bug in Flutter 1.22.5 .

Just run the app and it will work fine!

like image 38
Maruf Hassan Avatar answered Nov 15 '22 10:11

Maruf Hassan


I had the same issue but using VS Code on stable channel

  • Execute the following commands:
flutter channel stable
flutter upgrade
flutter clean
flutter pub get
  • Then, close and open your IDE
like image 21
Adrien Arcuri Avatar answered Nov 15 '22 09:11

Adrien Arcuri


Follow the steps:

File -> Invalidate Cache and Restart. Run flutter clean Worked For me.

like image 36
Rushika Pawar Avatar answered Nov 15 '22 10:11

Rushika Pawar