【问题标题】:How to solve error during deploy ionic app in emulator如何在模拟器中部署离子应用程序时解决错误
【发布时间】:2019-08-10 19:38:38
【问题描述】:

我想在模拟器上部署我的 ionic 应用。以下是我用来执行此操作的应用程序版本。

离子: 3.20.1

科尔多瓦: 8.1.2 (cordova-lib@8.1.1)

安卓: 7.1.1

当我在 Powershell 上运行 ionic cordova emulate 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

【问题讨论】:

    标签: android cordova ionic-framework deployment android-emulator


    【解决方案1】:

    第 1 步:

    创建新的虚拟设备。

    第 2 步:

    选择 google play store 的设备。

    第 3 步:

    预先设置:图形应该是硬件。

    完成。

    【讨论】:

      猜你喜欢
      • 2023-03-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-17
      • 2021-12-31
      • 2021-08-01
      • 2019-05-25
      • 2018-11-23
      相关资源
      最近更新 更多