cordova build Command failed with exit code EACCES

后端 未结 9 1696
半阙折子戏
半阙折子戏 2020-12-13 23:40

Cordova build failed with error code : EACCESS

$ cordova build android
Running command: /home/user/proj1/platforms/android/cordova/build 
execvp(): Permissi         


        
相关标签:
9条回答
  • 2020-12-14 00:38

    To solve the EACCESS Problem please copy and save your platform custom icons / splashes / config.xml settings and delete the platform folder. after that run phonegap run android from your console again. it should work again. after that copy back the custom files / settings to the new platform folder.

    0 讨论(0)
  • 2020-12-14 00:40

    This is a common PhoneGap problem.

    Most of the time it has to do with permissions on the build folder and script file.

    Try using: chmod a+x on them.

    0 讨论(0)
  • 2020-12-14 00:46

    You could brute force it if you are an admin and just sudo chmod -R 777 ./platforms/ from the project root directory.

    0 讨论(0)
提交回复
热议问题