我想在模拟器上部署离子应用程序。以下是我正在使用的应用程序版本。
离子: 3.20.1
科尔多瓦: 8.1.2(cordova-lib@8.1.1)
Android: 7.1.1
当我在Powershell上运行 ionic cordova emulator android 命令时。我收到以下错误。
Waiting for emulator to start...
emulator: WARNING: Crash service did not start
emulator: Requested console port 5584: Inferring adb port 5585.
emulator: WARNING: cannot read adb public key file: C:\Users\Utkarsh
Soni\.android\adbkey.pub
emulator: WARNING: trying again by copying from home dir
emulator: WARNING: cannot read adb public key file (failed): C:\Users\Utkarsh
Soni\.android\adbkey.pub
HAX is working and emulator runs in fast virt mode.
Failed to execute shell command "getprop,dev.bootcomplete"" on device: Error:
C:\Users\Utkarsh Soni\AppData\Local\Android\Sdk\platform-tools\adb.exe:
Command failed with exit code 1 Error output:
error: device still authorizing
答案 0 :(得分:1)
步骤1:
创建新的虚拟设备。
第2步:
选择不是 Google Play商店的设备。
第3步:
预先设置:图形应为硬件。
完成。