# Triggers the workflow on push or pull request events but only for the "main" branch # This is a basic workflow to help you get started with Actions Tried with all images including API Level 33.Īssuming emulator is taking more time to display the graphics ,waited a max time of 10 mins before taking screen shot.Īble to communicate with the device through adb commands. $ANDROID_HOME/platform-tools/adb wait-for-device shell 'while ] do sleep 1 done input keyevent 82' Nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -no-snapshot & $ANDROID_HOME/emulator/emulator -list-avdsĮcho "Starting emulator" Start emulator in background Setup a pipeline in azure devops to launch android emulator on microsoft hosted agent.Įcho "y" | $ANDROID_HOME/tools/bin/sdkmanager -install 'system-images android-27 google_apis x86'Įcho "no" | $ANDROID_HOME/tools/bin/avdmanager create avd -n xamarin_android_emulator -k 'system-images android-27 google_apis x86' -force The same pipeline is running fine on mac OS-10.15 which has the older version of emulator.But mac OS-10.15 is depreciated.Īndroid emulator Must bootup with graphics display Actual behaviorĪndroid emulatoe boots up with black/grey scrren Repro steps For couple of days ,I can see that the emulator has been booting up with black screen.I had taken a snapshot and has been attached.The snapshot has been taken just by launching the emulator.I can see the both mac-11 and mac-12 are using new version of android emulator i.e version 31.3.10.0. I have setup a pipeline in azure devops to run automated tests using android emulator on microsoft hosted agent.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |