java - Cordova Build error in Windows -


cordova run in windows error in build commend trying build android app. following error occurs every time.

my environment variable have following path:

c:\program files (x86)\intel\icls client\;c:\program files\intel\icls    client\;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;%systemroot%\system32\windowspowershell\v1.0\; c:\program files\intel\intel(r) management engine components\dal; c:\program files\intel\intel(r) management engine components\ipt; c:\program files (x86)\intel\intel(r) management engine components\dal; c:\program files (x86)\intel\intel(r) management engine components\ipt; c:\program files (x86)\intel\opencl sdk\2.0\bin\x86;c:\program files (x86)\intel\opencl sdk\2.0\bin\x64; c:\program files\nodejs\; c:\program files\android\android studio\sdk\platform-tools\tools;f:\software develop tools\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;f:\software develop tools\adt-bundle-windows-x86_64-20140702\apache-ant-1.8.2\bin; c:\program files (x86)\skype\phone\;c:\program files (x86)\intel\opencl sdk\2.0\bin\x86;c:\program files (x86)\intel\opencl sdk\2.0\bin\x64; c:\program files (x86)\common files\ulead systems\mpeg c:\users\sajibe kanti\desktop\myapp\platforms\android\cordova\node_modules\q\q.j s:126                     throw e;                           ^ error code 1 command: cmd args: /s /c ""c:\users\sajibe kanti\desktop\m yapp\platforms\android\gradlew" cdvbuilddebug -b "c:\users\sajibe kanti\desktop\ myapp\platforms\android\build.gradle" -dorg.gradle.daemon=true" error building 1 of platforms: error: cmd: command failed exit code 1  may not have required environment or os build project error: cmd: command failed exit code 1     @ childprocess.whendone (c:\users\sajibe kanti\appdata\roaming\npm\node_mod ules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23)     @ childprocess.emit (events.js:110:17)     @ maybeclose (child_process.js:1015:16)     @ process.childprocess._handle.onexit (child_process.js:1087:5) 

do cordova platform add android before build


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -