cordova - phonegap build error - you may not have the required environment -
when ever i'm trying build phonegap project with: $phonegap build
an error encountered failing compilation. kindly find error message , testify origin , solution.
e:\phonegap projects\myproject>cordova build android running command: cmd "/s /c ""e:\phonegap projects\myproject\platforms\android\cordova\build.bat""" android_home=c:\users\rajan\appdata\local\android\sdk java_home=c:\program files\java\jdk1.8.0_45 cp: copyfilesync: not write dest file (code=eperm):e:\phonegap projects\myproject\platforms\android\gradlew.bat shell.js: internal error error: eperm, operation not permitted 'e:\phonegap projects\myproject\platforms\android\gradle\wrapper\gradle-wrapper.properties' @ error (native) @ object.fs.opensync (fs.js:500:18) @ object.fs.writefilesync (fs.js:1099:15) @ object._sed (e:\phonegap projects\myproject\platforms\android\cordova\node_modules\shelljs\src\sed.js:39:8) @ object.sed (e:\phonegap projects\myproject\platforms\android\cordova\node_modules\shelljs\src\common.js:172:23) @ e:\phonegap projects\myproject\platforms\android\cordova\lib\build.js:322:23 @ _fulfilled (e:\phonegap projects\myproject\platforms\android\cordova\node_modules\q\q.js:798:54) @ self.promisedispatch.done (e:\phonegap projects\myproject\platforms\android\cordova\node_modules\q\q.js:827:30) @ promise.promise.promisedispatch (e:\phonegap projects\myproject\platforms\android\cordova\node_modules\q\q.js:760:13) @ e:\phonegap projects\myproject\platforms\android\cordova\node_modules\q\q.js:574:44 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\rajan\appdata\roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:134:23) @ childprocess.emit (events.js:110:17) @ maybeclose (child_process.js:1015:16) @ process.childprocess._handle.onexit (child_process.js:1087:5)
Comments
Post a Comment