Flutter | Dart Dev Tools won’t Activate: Code: 255? (2022)

First, its probably because the build folder isn't there in the latest version

Path to the dev tools folder

Check the previous versions which have a build folder as shown below

Inside devtools-2.8.0/

If it has a build folder run the below command

dart pub global activate devtools -v 2.8.0

--

--