You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/03/26 08:37:30 UTC

[GitHub] [cordova-android] tonetechnician opened a new issue #698: 'cordova run android --emulator' command line tool stuck at 'Waiting for emulator to start...'

tonetechnician opened a new issue #698: 'cordova run android --emulator' command line tool stuck at 'Waiting for emulator to start...'
URL: https://github.com/apache/cordova-android/issues/698
 
 
   I've installed cordova and am using it to develop an android app. I have all the SDK tools installed. 
   
   I'm running into an issue where I cannot start the emulator form the command line. I see there are a lot of posts about this already, but none really answer the problem or show the verbose output from the command line tool.
   
   Here is the command line output from the command 
   
   `cordova run android --emulator --verbose`
   
   ```
   Waiting for emulator to start...
   Running adb shell command "getprop dev.bootcomplete" on target emulator-5584...
   Running command: adb -s emulator-5584 shell getprop dev.bootcomplete
   Command finished with error code 1: adb -s,emulator-5584,shell,getprop,dev.bootcomplete
   Running adb shell command "getprop dev.bootcomplete" on target emulator-5584...
   Running command: adb -s emulator-5584 shell getprop dev.bootcomplete
   Command finished with error code 1: adb -s,emulator-5584,shell,getprop,dev.bootcomplete
   Running adb shell command "getprop dev.bootcomplete" on target emulator-5584...
   Running command: adb -s emulator-5584 shell getprop dev.bootcomplete
   Command finished with error code 1: adb -s,emulator-5584,shell,getprop,dev.bootcomplete
   ```
   
   And then it just keeps looping.. 
   
   I have a workaround that just requires me to run the emulator from the Android Studio AVD Manager and then run 
   
   ```
   cordova emulate android 
   ```
   
   which runs the app on the emulator. 
   
   I'd like to get the command line tool working because it will speed up my productivity.
   
   Any help would be greatly appreciated!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org