MobileChromeApps / mobile-chrome-apps

Chrome apps on Android and iOS
BSD 3-Clause "New" or "Revised" License
2.5k stars 348 forks source link

cca run android fails terribly if attached device is locked #480

Open LanWei22 opened 9 years ago

LanWei22 commented 9 years ago
/Users/lanwei/wat-physical-web/android-app/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
Error executing "adb devices": ADB server didn't ACK
* failed to start daemon *
error: 

Error: /Users/lanwei/wat-physical-web/android-app/platforms/android/cordova/run: Command failed with exit code 8
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cca/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)

adb daemon wasn't running yet at the time

mmocny commented 9 years ago

(filed by @mmocny)