我在Ubuntu 12.04上安装了phonegap 3.0.0-0.14.3.
我想用android模拟器运行应用程序.当我运行phonegap运行android我得到以下内容:
[phonegap] compiling Android... [phonegap] successfully compiled Android app [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.Warning : [ --debug | --release | --nobuild ] not specified,defaulting to --debug Cleaning project...
该应用程序运行到设备没有问题.
请帮忙!
解决方法
最后我找到了问题的答案.
我收到此错误是因为我没有创建一个Android虚拟设备.创建一个之后,一切正常.
在命令提示符下输入:android avd to display de AVD Manager窗口,然后你可以创建一个android虚拟设备.
我希望这对某人有帮助.