我有一个Phonegap 3.3.0项目已经设置好并且完美运行,我可以从命令提示符中构建出一个.APK文件。
jamie@Hutber-8 /c/var/www/sexdiaries.co.uk/sdapp/app
$ phonegap build android
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] compiling Android...
[phonegap] successfully compiled Android app
我已经将我的手机插入电脑,它是一台Nexus 5,似乎在Windows 8上有问题,但我相信它正在正确地工作:
$ adb devices
List of devices attached
029188d8e0784684 device
然而,当我尝试将其部署到此设备时:
$ phonegap install android
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] trying to install app onto device
[phonegap] no device was found
[phonegap] trying to install app onto emulator
[error] An error occurred while emulating/deploying the android project.
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
我已经查看了文档,但似乎找不到关于此的详细信息...