Flutter: The System Cannot Find the Path Specified

When I run this command

D:\Flutter\project flutter\navagat>flutter build apk --release

I get this following error

The system cannot find the path specified.

Upvotes: 0

Views: 1960

Answers (2)

Fabio J. Walter
Fabio J. Walter

Reputation: 31

I don't know how may sub calls it does (Gradle,Groovy,Java, Python), but it really works after deleting the value of an old Conda installation.

Upvotes: 0

TheTr1ckst3r
TheTr1ckst3r

Reputation: 81

Check these:

  • non existent directory/files under Path in your environment variables

  • open regedit and check for Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor\Autorun and clear it out.

In my case I installed Anaconda3 and then uninstalled it later. It left a reference to a .bat file in Autorun that got removed and flutter or other software(e.g Android Studio) complained about it every time.

Upvotes: 8

Related Questions