如何解决在模拟器中部署离子应用程序期间的错误
How to solve error during deploy ionic app in emulator
我想在模拟器上部署我的离子应用程序。以下是我正在使用的应用程序版本。
离子:
3.20.1
科尔多瓦:
8.1.2 (cordova-lib@8.1.1)
Android :
7.1.1
当我 运行 ionic cordova 在 Powershell 上模拟 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
第 1 步:
创建新的虚拟设备。
第 2 步:
选择 不是 google play store 的设备。
第 3 步:
预先设置:图形应该是硬件。
完成。
我想在模拟器上部署我的离子应用程序。以下是我正在使用的应用程序版本。
离子: 3.20.1
科尔多瓦: 8.1.2 (cordova-lib@8.1.1)
Android : 7.1.1
当我 运行 ionic cordova 在 Powershell 上模拟 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
第 1 步:
创建新的虚拟设备。
第 2 步:
选择 不是 google play store 的设备。
第 3 步:
预先设置:图形应该是硬件。
完成。