Failed to install 'onesignal-cordova-plugin': Error: spawn EACCES
at exports._errnoException (util.js:1018:11)
at ChildProcess.spawn (internal/child_process.js:319:11)
at Object.exports.spawn (child_process.js:378:9)
at Object.exports.spawn (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:134:31)
at /Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/lib/builders/GradleBuilder.js:245:27
at _fulfilled (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:854:54)
at self.promiseDispatch.done (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:883:30)
at Promise.promise.promiseDispatch (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:816:13)
at /Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:877:14
at runSingle (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:137:13)
Error: spawn EACCES
Solution :
Remove the platform Android and reinstall
ionic cordova platform rm android
add android again //6.1.x has a bug
ionic platform add android@6.2.2
0 coment�rios:
Post a Comment