'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".


Solution 1:[1]

Close and reopen AndroidStudio resolved for me!

killall java

Solution 2:[2]

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!

Solution 3:[3]

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

Solution 4:[4]

Follow the steps:

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

Solution 5:[5]

This so simple... Open terminal type flutter channel dev this solve your problem. And after that flutter upgrade Finally, flutter doctor

If it does not help:

Open terminal type flutter channel stable And after that flutter upgrade Finally, flutter doctor

Solution 6:[6]

Working without upgrading flutter

Safe fix for Mac (Android Studio 4.1+). It is in a different directory now, but the symbolic link helps.

Just run this command in the Terminal: ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1

Change the version of the Android studio depending on what you have, I had 4.2 so used.

ln -s ~/Library/Application\ Support/Google/AndroidStudio4.2/plugins ~/Library/Application\ Support/AndroidStudio4.2

Solution 7:[7]

Just Invalidate Cache and Restart. Worked for me.

Solution 8:[8]

Just close your all project and also close Android Studio and Reopen.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 d3roch4
Solution 2 Maruf Hassan
Solution 3 Adrien Arcuri
Solution 4 Rushika Pawar
Solution 5
Solution 6 Paras Andani
Solution 7 Chanin
Solution 8 AmitHassan