@ryanaleksander wrote:
Hi, guys. I'm having trouble running my app on an android device. I've got this error when I used "ionic run android":
Error: spawn EACCES
at exports._errnoException (util.js:874:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at Object.exports.spawn (child_process.js:339:9)
at module.exports (/home/ryan/ionic/my-reddit/platforms/android/cordova/lib/spawn.js:37:35)
at /home/ryan/ionic/my-reddit/platforms/android/cordova/lib/build.js:370:24
at fulfilled (/home/ryan/ionic/my-reddit/platforms/android/cordova/nodemodules/q/q.js:798:54)
at self.promiseDispatch.done (/home/ryan/ionic/my-reddit/platforms/android/cordova/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch (/home/ryan/ionic/my-reddit/platforms/android/cordova/node_modules/q/q.js:760:13)
at /home/ryan/ionic/my-reddit/platforms/android/cordova/node_modules/q/q.js:821:14
at flush (/home/ryan/ionic/my-reddit/platforms/android/cordova/node_modules/q/q.js:108:17)
ERROR running one or more of the platforms: Error: /home/ryan/ionic/my-reddit/platforms/android/cordova/run: Command failed with exit code 1
You may not have the required environment or OS to run this projectI've already tried "ionic hooks add" but it still didn't work.
Posts: 1
Participants: 1