I have phonegap 3.0.0-0.14.3 installed on Ubuntu 12.04.
I want to run the app with android emulator. When I run phonegap run android
I get the following:
[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...
The app run onto a device without problem.
Please help!
Finally I found an answer to my question.
I was getting this error because I had not created an android virtual device. After having created one, everything worked normally.
On command prompt just type : android avd
to display de AVD Manager window, then you can create an android virtual device.
I hope this is helpful to someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With