Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to run my project But I am facing following error Failed to start DevTools: Dart DevTools exited with code 255 in Flutter. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Failed to start DevTools: Dart DevTools exited with code 255 Error Occurs ?
I am trying to run my project But I am facing following error.
Failed to start DevTools: Dart DevTools exited with code 255
How To Solve Failed to start DevTools: Dart DevTools exited with code 255 Error ?
- How To Solve Failed to start DevTools: Dart DevTools exited with code 255 Error ?
To Solve Failed to start DevTools: Dart DevTools exited with code 255 Error First Of All Close Your Android Studio.Then Just Open Your Terminal.Now Run this command in your terminal.dart pub global activate devtools -v 2.8.0Now, Open Your Android Studio and Run Your Project.Now Your error must be solved.
- Failed to start DevTools: Dart DevTools exited with code 255
To Solve Failed to start DevTools: Dart DevTools exited with code 255 Error You Just need to Downgrade version to 2.8.0 Just run this command inorder to solve this error: dart pub global activate devtools -v 2.8.0 Now, Your error must be solved.
Solution 1: Downgrade version to 2.8.0
You Just need to Downgrade version to 2.8.0 Just run this command inorder to solve this error.
dart pub global activate devtools -v 2.8.0
Now, Your error must be solved.
Solution 2: For Android Studio
If You are using Android studio then Just follow this step.
- First Of All Close Your Android Studio.
- Then Just Open Your Terminal.
- Now Run this command in your terminal.
- dart pub global activate devtools -v 2.8.0
- Now, Open Your Android Studio and Run Your Project.
- Now Your error must be solved.
Solution 3: For VS code
If You are using VS Code then follow this step.
- Open VS Code Studio.
- Then Open Your Intigrated Terminal OR Your CMD.
- Now Run this command in your terminal.
- dart pub global activate devtools -v 2.8.0
- Then Just run your project.
- Now Your error must be solved.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read
Thanks very much it was very useful and to the point solution.
Best Regards
This works but I have to redo every time I reboot my computer.