-
Notifications
You must be signed in to change notification settings - Fork 17
Heuristics for waiting boot process to finish not working with -no-window #26
Comments
Hm, interesting. Are you sure emulator actually started? Because we use pretty much same check as Travis CI's android-wait-for-emulator which actually works if you start emulator with Maybe it's the
How did you check that? I would suggest |
I ran Have you tried to run the exact same input params on your own and it worked? |
Hey, just checked with the same settings - emulator works fully, running tests etc. PS what version of android emulator do you have? |
I think you're misunderstanding the problem here. My initial issue was created for the problem that swarmer does not detect wether the emulator was started or not and ultimately ends up in TimeoutException. Android emulator version is 26.1.2 |
The thing is - emulator is launched as intended on my machine, its loaded and reports bootanim successfully after 20 or 30 seconds, so the error should not be the swarmer itself but something in the environment. I tried the same emulator and swarmer versions, with the exact same options you provided (copypasted them all), so its really weird. Tested on Macos 10.12.5. |
Can there be some error in my config.ini file?
|
Well, if I change
everything is working. Otherwise my emulator isn't even able to start. Tried different skins from $ANDROID_HOME/skins with no success... |
And using the following format
pixel skin succeeded to start, too. |
When starting emulator with options
-no-audio -no-window -gpu off
TimeoutException will happen while waiting for boot process to finish.Emulator is started in the background, but since
init.svc.bootanim
property is not set when starting emulator with provided options the script will result in timeout.Executed command:
Produced output:
The text was updated successfully, but these errors were encountered: