close

[Solved] Failed to start DevTools: Dart DevTools exited with code 255

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 ?

  1. 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.

  2. 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.

  1. First Of All Close Your Android Studio.
  2. Then Just Open Your Terminal.
  3. Now Run this command in your terminal.
  4. dart pub global activate devtools -v 2.8.0
  5. Now, Open Your Android Studio and Run Your Project.
  6. Now Your error must be solved.

Solution 3: For VS code

If You are using VS Code then follow this step.

  1. Open VS Code Studio.
  2. Then Open Your Intigrated Terminal OR Your CMD.
  3. Now Run this command in your terminal.
  4. dart pub global activate devtools -v 2.8.0
  5. Then Just run your project.
  6. 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

2 thoughts on “[Solved] Failed to start DevTools: Dart DevTools exited with code 255”

Leave a Comment