为什么我会看到一个Android模拟器应用运行错误?

时间:2019-05-06 14:36:12

标签: android cordova android-emulator

我正在设置Android模拟器,并且可以正常工作。但是,如果我运行命令

cordova -d emaulator android

我看到错误

Failed to execute shell command "getprop,dev.bootcomplete"" on device: Error: adb: Command failed with exit code 1 Error output:
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

模拟器已启动,但其中没有任何应用程序

1 个答案:

答案 0 :(得分:0)

也许这可以帮助您: https://stackoverflow.com/a/43984410/3426262

我搜索了error: device unauthorized.

确保您还尝试启用开发人员选项:

enter image description here