Errors executing Cordova commands:


#1

While running Cordova app for platform Android with options --emulator:

Error: Command failed: /home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/run --emulator
{ [CordovaError: Failed to execute shell command “getprop,dev.bootcomplete”" on device: Error: adb: Command failed with exit code 255 Error output:
ADB server didn’t ACK

  • failed to start daemon *
    error: cannot connect to daemon]
    name: ‘CordovaError’,
    message: 'Failed to execute shell command “getprop,dev.bootcomplete”" on device: Error: adb: Command failed with exit code 255 Error output:\nADB server didn’t
    ACK\n* failed to start daemon \nerror: cannot connect to daemon’,
    code: 0,
    context: undefined } 'CordovaError: Failed to execute shell command “getprop,dev.bootcomplete”" on device: Error: adb: Command failed with exit code 255 Error
    output:\nADB server didn’t ACK\n
    failed to start daemon *\nerror: cannot connect to daemon\n at
    /home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/lib/Adb.js:91:25\n at _rejected
    (/home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:864:24)\n at
    /home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:890:30\n at Promise.when
    (/home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:1142:31)\n at Promise.promise.promiseDispatch
    (/home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:808:41)\n at
    /home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:624:44\n at runSingle
    (/home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:137:13)\n at flush
    (/home/deligence/KKTasks/kk/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:125:13)\n at nextTickCallbackWith0Args (node.js:489:9)\n
    at process._tickCallback (node.js:418:13)'
    at ChildProcess.exitCallback (/tools/utils/processes.js:151:23)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
    => awaited here:
    at Function.Promise.await
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:56:12)
    at CordovaProject.runCommands (/tools/cordova/project.js:715:22)
    at CordovaProject.run$ (/tools/cordova/project.js:261:10)
    at tryCatch
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:63:40)
    at GeneratorFunctionPrototype.invoke [as _invoke]
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:337:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next]
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:96:21)
    at tryCatch
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:63:40)
    at invoke
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:139:20)
    at
    /home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:184:11
    at callInvokeWithMethodAndArg
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:183:16)
    at AsyncIterator.enqueue
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:206:13)
    at AsyncIterator.prototype.(anonymous function) [as next]
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:96:21)
    at Object.runtime.async
    (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:226:14)
    at
    /home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:39

/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
throw error;
^
undefined
=> awaited here:
at Function.Promise.await (/home/deligence/.meteor/packages/meteor-tool/.1.5.2_2.fkst7p++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:56:12)
at /tools/cordova/runner.js:98:17
at /tools/utils/buildmessage.js:271:13
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:264:29
at [object Object].
.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:262:18
at [object Object]..extend.withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:253:23
at [object Object].
.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.capture (/tools/utils/buildmessage.js:252:19)
at CordovaRunner.startRunTargets (/tools/cordova/runner.js:97:37)
at [object Object]._.extend.runOnce (/tools/runners/run-app.js:772:21)
at [object Object].
.extend._fiber (/tools/runners/run-app.js:885:28)
at /tools/runners/run-app.js:412:12

1- I am working on Meteor 1.5.2.2
2- I have set JAVA 1.8, and also set JAVA Path
3- Android_HOME is set.
4- SDK 25 and 26 is installed
5- Gradel also installed
6- When i run ‘meteor run android’ it shows above error.
7- all are updated version (Meteor, SDK, and Java)