2

I'm running into a problem while creating a flutter project using Android Studio

Cannot run program "C:\flutter\bin\flutter.bat" (in directory "G:\test"): CreateProcess error=2, The system cannot find the file specified

error screenshot

i tried to give full control permissions to the file C:\flutter\bin\flutter.bat but still same problem a screenshot for flutter doctor log flutter doctor log

8
  • After the line Android license status unknown there a command,did you run that@Yehia Elhawary Commented Oct 16, 2020 at 11:39
  • yes, i got error Android sdkmanager tool was found, but failed to run (C:\Users\Yehia\AppData\Local\Android\Sdk\tools\bin\sdkmanager): "ProcessException: The system cannot find the file specified. but the file is already exists in the mentioned path Commented Oct 16, 2020 at 11:40
  • try this stackoverflow.com/questions/60460429/… @Yehia Elhawary Commented Oct 16, 2020 at 11:44
  • I think there is lot problem with flutter using latest android studio update some path issues,plugin fails to load even if it is installed,if this is't work try uninstall and then reinstall android studio @Yehia Elhawary Commented Oct 16, 2020 at 11:47
  • i tried to uninstall android studio, downloaded the latest version of android studion but still same problem, flutter wasn't a strong langauge like i thought Commented Oct 16, 2020 at 11:55

1 Answer 1

2

if you using Avast Antivirus program, its possible that it deleted the flutter.exe file, as it somehow thinks it's IDP.Generic virus ...

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.