
Error:
[ERROR:flutter/runtime/dart_isolate.cc(143)] Could not prepare isolate. E/flutter ( 7477): [ERROR:flutter/runtime/runtime_controller.cc(385)] Could not create root isolate. Restarted application in 6,091ms.
Solution:
- please check whether your Flutter Project contains
main.dartinlibfolder, if not, create it. - check your code like this:
- Check device or emulator has enough storage, if not uninstall some for making space
- remove the cache folder
rm -rf ${FLUTTER_ROOT}/bin/cache flutter cleanflutter run








