Cannot run program flutter.bat on Android Studio
1,070
if you using Avast Antivirus program, its possible that it deleted the flutter.exe file, as it somehow thinks it's IDP.Generic virus ...
Author by
Yehia Elhawary
Updated on December 25, 2022Comments
-
Yehia Elhawary over 1 year
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
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-
Abhijith over 3 yearsAfter the line
Android license status unknown
there a command,did you run that@Yehia Elhawary -
Yehia Elhawary over 3 yearsyes, 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
-
Abhijith over 3 yearstry this stackoverflow.com/questions/60460429/… @Yehia Elhawary
-
Abhijith over 3 yearsI 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
-
Yehia Elhawary over 3 yearsi 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
-
Abhijith over 3 yearsNo flutter is very good,there is something wrong with latest Android studio i think,did you tried stackoverflow.com/questions/60460429/… @Yehia Elhawary
-
Yehia Elhawary over 3 yearsyes, still same problem if you have a time, can you join my anydesk ?
-
Abhijith over 3 yearsi don't have anydesk brother also i have slow connection@Yehia Elhawary
-