我无法在我的设备上部署mycordova应用。 我看到在类似的问题上,问题是电话驱动程序没有安装。
但在我的情况下,驱动程序正常,设备已连接:
C:\androidsdk\platform-tools>adb devices
List of devices attached
4100dd1690e93100 unauthorized
但是当我尝试在手机上运行myapp时,我收到以下错误:
c:\wscordova\myapp>cordova run android
Running command: cmd "/s /c "c:\wscordova\myapp\platforms\android\cordova\run.b
at""
ANDROID_HOME=C:\androidsdk
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79
WARNING : No target specified, deploying to emulator
c:\wscordova\myapp\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
ERROR : No emulator images (avds) found.
1. Download desired System Image by running: c:\androidsdk\tools\android.BAT sdk
2. Create an AVD by running: c:\androidsdk\tools\android.BAT avd
HINT: For a faster emulator, use an Intel System Image and install the HAXM devi
ce driver
ERROR running one or more of the platforms: Error: cmd: Command failed with exit
code 1
You may not have the required environment or OS to run this project
它可能是什么?