Home > Back-end >  'D:\flutter' is not recognized as an internal or external command, operable program or ba
'D:\flutter' is not recognized as an internal or external command, operable program or ba

Time:07-17

Launching lib\main.dart on SM A908N in debug mode... lib\main.dart:1 'D:\flutter' is not recognized as an internal or external command, operable program or batch file. Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)

CodePudding user response:

As per flutter installation it's installed in C:\src\flutter\bin if you find flutter in this location C:\src\flutter\bin then, go to Environmental variable and set the Path to C:\src\flutter\bin after this close all you're terminal restart your pc to make sure then run flutter doctor in terminal this might help you get going I hope.

CodePudding user response:

You set worng flutter path , ur path should be "D:\flutter\bin"

  • Related