Search code examples
androidcordovaionic3enoent

Error: cmd: Command failed with exit code ENOENT while running app into android apk


I tried building my app to android in ionic cordova using ionic cordova build android but I am been faced with this error everytime a run the command. I have all my paths set in Environment Variable under system variable.

Here is the screenshot of the errors displayed:

enter image description here

Please, what is the caused of this errors. I have gone through stackoverflow, tried all possible soluctions I could layed my hannd on but still no progress.


Solution

  • I guess you don't add C:\Windows\System32 in your PATH variable.