# CordovaError: Failed to execute shell command "getprop,dev.bootcomplete

**URL:** <https://forum.ionicframework.com/t/cordovaerror-failed-to-execute-shell-command-getprop-dev-bootcomplete/137301>\
**Category:** cordova\
**Created:** [August 3, 2018, 6:27pm UTC](https://forum.ionicframework.com/t/cordovaerror-failed-to-execute-shell-command-getprop-dev-bootcomplete/137301 "2018-08-03T18:27:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajbasilio](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@rajbasilio](https://forum.ionicframework.com/u/rajbasilio)\
**Post date:** [August 3, 2018, 6:27pm UTC](https://forum.ionicframework.com/t/cordovaerror-failed-to-execute-shell-command-getprop-dev-bootcomplete/137301/1 "2018-08-03T18:27:07Z")

</div>

When I run the command `ionic cordova run android`. I’m getting the following error

```auto
audio: Failed to create voice `adc'
(node:5976) UnhandledPromiseRejectionWarning: CordovaError: Failed to execute shell command "getprop,dev.bootcomplete"" on device: Error: C:\Users\hi\AppData\Local\Android\Sdk\platform-tools\adb.exe: Command failed with exit code 1 Error output:
error: device still authorizing
    at D:\product\project-1\frontend\platforms\android\cordova\lib\Adb.js:88:25
    at _rejected (D:\product\project-1\frontend\platforms\android\cordova\node_modules\q\q.js:864:24)
    at D:\product\project-1\frontend\platforms\android\cordova\node_modules\q\q.js:890:30
    at Promise.when (D:\product\project-1\frontend\platforms\android\cordova\node_modules\q\q.js:1142:31)
    at Promise.promise.promiseDispatch (D:\product\project-1\frontend\platforms\android\cordova\node_modules\q\q.js:808:41)
    at D:\product\project-1\frontend\platforms\android\cordova\node_modules\q\q.js:624:44
    at runSingle (D:\product\project-1\frontend\platforms\android\cordova\node_modules\q\q.js:137:13)
    at flush (D:\product\project-1\frontend\platforms\android\cordova\node_modules\q\q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
(node:5976) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:5976) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

```

But the emulator is starting & my app is not avalible in the device. What is the problem & how can I solve it? Can someone help me?

---

<div class="post-metadata">

**Author:** ![pablovortex](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/pablovortex/32/121302_2.png) [@pablovortex](https://forum.ionicframework.com/u/pablovortex)\
**Post date:** [August 12, 2018, 10:04am UTC](https://forum.ionicframework.com/t/cordovaerror-failed-to-execute-shell-command-getprop-dev-bootcomplete/137301/2 "2018-08-12T10:04:40Z")

</div>

Same issue here. Android emulator (after several hours of little repairs) finally launch, but app doesn’t.

```auto
emulator: Requested console port 5584: Inferring adb port 5585.
HAX is working and emulator runs in fast virt mode.
(node:1764) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Failed to execute shell command "getprop,dev.bootcomplete"" on device: Error: D:\Android\sdk\platform-tools\adb.exe: Command failed with exit code 1 Error output:
error: device still connecting
(node:1764) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

```

This worked for me. Hope it!ll help you: [https://stackoverflow.com/questions/50935337/failed-to-execute-shell-command-getprop-dev-bootcomplete-on-device-error-for/51005353](https://stackoverflow.com/questions/50935337/failed-to-execute-shell-command-getprop-dev-bootcomplete-on-device-error-for/51005353)

---

<div class="post-metadata">

**Author:** ![rajbasilio](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@rajbasilio](https://forum.ionicframework.com/u/rajbasilio)\
**Post date:** [August 18, 2018, 11:14am UTC](https://forum.ionicframework.com/t/cordovaerror-failed-to-execute-shell-command-getprop-dev-bootcomplete/137301/3 "2018-08-18T11:14:57Z")

</div>

I have tried it no use app is not available in the emulator.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:26pm UTC](https://forum.ionicframework.com/t/cordovaerror-failed-to-execute-shell-command-getprop-dev-bootcomplete/137301/4 "2021-07-19T21:26:09Z")

</div>

Closed on July 19, 2021, 9:26pm UTC


