![](/img/trans.png)
[英]Phonegap run android command hangs on trying to install app onto device
[英]Phonegap failed to install sample app onto android emulator
我一直在尝试使用命令“ phonegap run android”将helloworld应用安装到android 4.3模拟器上。 它已成功构建。 我相信安装过程中发生了错误。 我一直在努力修复它,运气不好。 有任何想法吗? 提前致谢。
PS:我正在使用Mac。 操作系统版本为10.7.5。
下面是错误:
BUILD SUCCESSFUL
Total time: 15 seconds
WARNING : no emulator specified, defaulting to myavd
Waiting for emulator...
shell.js: internal error
Error: spawn EMFILE
at errnoException (child_process.js:977:11)
at ChildProcess.spawn (child_process.js:924:11)
at exports.spawn (child_process.js:712:9)
at Object.exports.execFile (child_process.js:604:15)
at Object.exports.exec (child_process.js:575:18)
at execSync (/Users/xxxxxx/Documents/myapp/platforms/android/cordova/node_modules/shelljs/shell.js:1793:9)
at Object._exec (/Users/xxxxxx/Documents/myapp/platforms/android/cordova/node_modules/shelljs/shell.js:1130:12)
at Object.exec (/Users/xxxxxx/Documents/myapp/platforms/android/cordova/node_modules/shelljs/shell.js:1487:23)
at Object.module.exports.sleep (/Users/xxxxxx/Documents/myapp/platforms/android/cordova/lib/emulator.js:255:15)
at Object.module.exports.wait_for_emulator (/Users/xxxxxx/Documents/myapp/platforms/android/cordova/lib/emulator.js:221:14)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.