Saturday, March 11, 2023

[flutter][error] 'attrib' is not recognized as an internal or external command, operable program or batch file.

 


Error:

(During compilation, Android Studio issue error message)

'attrib' is not recognized as an internal or external command, operable program or batch file.


Possible explanation:

This problem occurred because the system didn't found the 'attrib' file.


Solution:

Check environment path to see if "C:\Windows\System32" exists.

e.g. C:\Java\jdk-11\bin;C:\src\flutter\bin;C:\Windows\System32;

Otherwise add the path.

e.g. setx "C:\Windows\System32;"


Reference:

https://stackoverflow.com/questions/64843125/attrib-is-not-recognized-as-an-internal-or-external-command-operable-program

No comments:

Post a Comment