我正在尝试使用Cordova构建我的应用程序,但出现此错误。
c:\hybridProject\test>cordova run android --list
Available android devices:
ERROR: Error: adb: Command failed with exit code ENOENT
An unexpected error has occurred while running list-devices with code 2: Error: c:\hybridProject\test\platforms\android\cordova\lib\list-devices: Command failed with exit code 2
Available android virtual devices:
c:\hybridProject\test>cordova run android --list
Available android devices:
ERROR: Error: adb: Command failed with exit code ENOENT
An unexpected error has occurred while running list-devices with code 2: Error: c:\hybridProject\test\platforms\android\cordova\lib\list-devices: Command failed with exit code 2
Available android virtual devices:
我不想收到错误消息。