Problem with "phonegap run android"

Asked

Viewed 1,135 times

0

Having environment configured, and using the command "phonegap run android" I have the following error:

[phonegap] executing 'cordova run android'...
[phonegap] completed 'cordova run android'

Expected to open a hello world on the device screen but does not open.

  • Command phonegap run android

  • Before executing phonegap run android execute adb devices to check if your device is found by the SDK tools.

  • When running "adb Devices", the console informs that this is not an internal or external command.

  • Add Android SDK path C:\Android\android-sdk\platform-tools the variable Path in Environment variables. If successful, run the commands adb kill-server and adb start-server. Done this turn again adb devices.

  • This has already been done.

1 answer

3

This is not an error. I recommend using the command cordova run android, he’s more verbose.

Something very important is that your device is in active developer mode.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.