Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccarthyIrl committed Mar 9, 2024
1 parent 823bd06 commit fdaa745
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/scripts/startEmulator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@ nohup $ANDROID_HOME/emulator/emulator -avd testRunnner \
-gpu auto \
-qemu -lcd-density 420 > /dev/null 2>&1 &

sleep 60
# Wait for the emulator to fully boot
while [ -z "$(adb shell getprop sys.boot_completed | tr -d '\r')" ]; do
echo "Sleeping"
sleep 1
done

# Additional sleep for stability
sleep 10

echo "Connected Devices:"
$ADB devices
Expand Down

0 comments on commit fdaa745

Please sign in to comment.