Learn Android for Free,issues for developers, mobengineers website provide complete solutions for developers issues posts.It also provides online training for android development

Wednesday, August 1, 2018

platforms/android/gradlew: Command failed with exit code EACCES

srinivas$ ionic cordova plugin add cordova-plugin-x-toast
> cordova plugin add cordova-plugin-x-toast --save
Installing "cordova-plugin-x-toast" for android
Subproject Path: CordovaLib
Failed to install 'cordova-plugin-x-toast': Error: /Users/srinivas/v1/platforms/android/gradlew: Command failed with exit code EACCES
    at ChildProcess.whenDone (/Users/srinivas/Documents/v1/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
    at onErrorNT (internal/child_process.js:406:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
Error: /Users/srinivas/Documents/v1/platforms/android/gradlew: Command failed with exit code EACCES
[ERROR] An error occurred while running subprocess cordova.
        cordova plugin add cordova-plugin-x-toast --save exited with exit code
        Re-running this command with the --verbose flag may provide more
Srinivass$ cd ..


Provide necessary rights to the  project folder.
Srinivass$ chmod -R 777  v1/

0 coment�rios:

Post a Comment

20% off

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

NDTV Gadgets360

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts