Failed to execute shell command “getprop,dev.bootcomplete”" on device: error for Android

前端 未结 4 2116
无人及你
无人及你 2020-12-29 22:18

I am getting the getprop,dev.bootcomplete error after building and deploying the new debug-apk file to the Android emulator through Ionic framework.

The

4条回答
  •  心在旅途
    2020-12-29 22:40

    I was get the same error when working with the following command on my windows 10 machine,

    cordova emulate android --target=N5Oreo
    

    Windows 10 Corodva 7.1.0 Oreo based emulator

    the issue was fixed temporarily with the answer by jcesarmobile (Failed to execute shell command "getprop,dev.bootcomplete"" on device: error for Android) but it kept on resurfacing.

    When i execute the command, the emulator was launched but the error kept coming again and again. I restarted the machine and and then it worked for few days then it kicked in again.

    I found that adb is a powerful tool. So instead of depending on cordova emulate android --target=N5Oreo to build and launch I used cordova build android and installed the resultant build by using adb install myApp.apk to the currently running emulator.

提交回复
热议问题