Cordoba bug (ERROR building one of the platforms)

I created a phone conversation application in node.js without any problems. Suddenly, when I tried to build now, it shows some error and apk is not created.

Here is the error:

C:\testapp\platforms\android\cordova\node_modules\q\q.js:126 throw e; ^ Error code 1 for command: cmd with args: /s /c "ant debug -f C:\testapp\platform s\android\build.xml -Dout.dir=ant-build -Dgen.absolute.dir=ant-gen" ERROR building one of the platforms: Error: C:\testapp\platforms\android\cordova \build.bat: Command failed with exit code 1 You may not have the required environment or OS to build this project Error: C:\testapp\platforms\android\cordova\build.bat: Command failed with exit code 1 at ChildProcess.whenDone (C:\Users\Vaishakh\AppData\Roaming\npm\node_modules \cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1008:16) at Process.ChildProcess._handle.onexit (child_process.js:1080:5) 

I did not configure system settings / properties. I did not change or delete anything. It happened all of a sudden. I tried to restart, but that did not work.

+5
source share

All Articles