我正在处理Ionic项目,当我尝试使用ionic run android
运行应用程序时出现此错误:
execvp(): Permission denied
Waiting for emulator...
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn EACCES
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
ERROR running one or more of the platforms: Error: /home/leoaref/shoofha_app/platforms/android/cordova/run: Command failed with exit code 8
You may not have the required environment or OS to run this project
这是ionic info
输出:
Your system information:
Cordova CLI: 5.1.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic CLI Version: 1.6.4
Ionic App Lib Version: 0.3.8
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS
Node Version: v0.10.25